[geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.20, 1.21
Michael Jervis
mjervis at qs1489.pair.com
Mon Feb 18 14:42:15 EST 2008
- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.676,1.677
- Next message (by thread): [geeklog-cvs] Geeklog-1.x/system/classes/syndication atom.feed.class.php, 1.12, 1.13 feedparserbase.class.php, 1.6, 1.7 rdf.feed.class.php, 1.7, 1.8 rss.feed.class.php, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv21576/system/classes
Modified Files:
story.class.php
Log Message:
Support for [raw][/raw] in HTML stories for painless HTML managing.
Index: story.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** story.class.php 3 Jan 2008 18:55:45 -0000 1.20
--- story.class.php 18 Feb 2008 19:42:13 -0000 1.21
***************
*** 1519,1522 ****
--- 1519,1524 ----
$out = str_replace('<pre><code>', '[code]', $out);
$out = str_replace('</code></pre>', '[/code]', $out);
+ $out = str_replace('<!--raw--><span class="raw">', '[raw]', $out);
+ $out = str_replace('</span><!--/raw-->', '[/raw]', $out);
$out = $this->_editUnescape($out);
$out = $this->_displayEscape(htmlspecialchars($out));
- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.676,1.677
- Next message (by thread): [geeklog-cvs] Geeklog-1.x/system/classes/syndication atom.feed.class.php, 1.12, 1.13 feedparserbase.class.php, 1.6, 1.7 rdf.feed.class.php, 1.7, 1.8 rss.feed.class.php, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list