==== Wikka Mod 042 ==== Type: Feature Addition ---- ===Credit=== The author of WakkaWiki handlers/page/raw.php (assuming **[[http://web.archive.org/web/20040603152140/http://www.wakkawiki.com/HendrikMans | Hendrik Mans]]**) **[[JsnX | Jason Tourtelotte]]** (slimmed it down, and added passing the output through nl2br and htmlspecialchars) **GmBowen** for prompting the development ---- === Description === This modification adds a page handler that shows the raw code of a page, formatted somewhat for viewing. Usage: Add /showcode to the end of any page URL. For example: http://wikkawiki.org/HomePage/showcode handlers/page/showcode.php %%(php) HasAccess("read") && $this->page) { // display raw page, slightly formatted for viewing print(nl2br(htmlspecialchars($this->page["body"], ENT_QUOTES))); } ?> %%