Permalink
Browse files

allow comments and CDATA

  • Loading branch information...
1 parent 8a43cab commit 37e93aeb76fb445d7430f5771d59cb82d0fb9e20 @scoates committed Dec 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/Tokens.php
View
@@ -9,7 +9,7 @@
'Singlequote' => "'",
'Ellipsis' => '\.{3,}',
'Quote' => '"',
- 'Tag' => '<.*?>',
+ 'Tag' => '<!--.*?-->|<\!\[CDATA\[.*\]\]>|<.*?>',
'Emdash' => '—|--',
);
protected static $verbatimTags = array(

0 comments on commit 37e93ae

Please sign in to comment.