Home | History | Annotate | Download | only in examples

Lines Matching refs:page_body

42 $page_body = file_get_contents('php://stdin');
46 $page_body = preg_replace_callback($regexp, 'ASCIIMathPHPCallback', $page_body);
49 $page_body = fix_asciiMath($page_body);
52 $page_body = preg_replace('/\n(<math.*<\/math>)\n/', '<p class="eq_para">$1</p>', $page_body);
55 $page_body = Markdown($page_body);
61 while (preg_match($regexp, $page_body, $matches) > 0)
64 $page_body = preg_replace($regexp, $tmp_token, $page_body, 1);
69 $page_body = preg_replace("|$tmp_token|", '<div class="codeblock">'.$block_new.'</div>', $page_body);
76 while (preg_match($regexp, $page_body, $matches))
85 $page_body = preg_replace($regexp, $block_new, $page_body, 1);
91 $page_body = SmartyPants($page_body);
101 print $page_body;
174 * @PARAM page_body str - The <body> element of an
179 function fix_asciiMath($page_body)
220 $out = preg_replace($tags_bad, $tags_good, $page_body);