mozilla

Revision 313111 of Template:cssinitial

  • Revision slug: Template:cssinitial
  • Revision title: Template:cssinitial
  • Revision id: 313111
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

<% // Load the whole page (wiki.page does cache the original page var $page = wiki.page("en-US/docs/CSS/CSS_values_syntax"); var $re = new RegExp("(<\s*code id="+'"initial-'+$0+'"'+"[^>]*>.*<\s*/\s*code\s*\>)"); $re.multiline = true; var $result = $re.exec($re)[0]; %> <%- $result %>

Revision Source

<% 
    // Load the whole page (wiki.page does cache the original page
    var $page = wiki.page("en-US/docs/CSS/CSS_values_syntax"); 
    
    var $re = new RegExp("(<\s*code id="+'"initial-'+$0+'"'+"[^>]*>.*<\s*/\s*code\s*\>)");
    $re.multiline = true;
    var $result = $re.exec($re)[0];

%>
<%- $result %>