summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-03-19 13:02:35 +0000
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-03-19 13:02:35 +0000
commitffa29b1f312dfe12186fbe47ac8273ee9599eaf6 (patch)
tree8083ae83acccf7063bcdc52088df73b245cfd7d5
parentc5657847112832bac89c2ae37ffa0a4d80c04523 (diff)
downloadscala-ffa29b1f312dfe12186fbe47ac8273ee9599eaf6.tar.gz
scala-ffa29b1f312dfe12186fbe47ac8273ee9599eaf6.tar.bz2
scala-ffa29b1f312dfe12186fbe47ac8273ee9599eaf6.zip
[scaladoc] Closes #4357. Review by dubochet.
-rw-r--r--src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala b/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala
index da69cad0ea..d82d5bfa5a 100644
--- a/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala
+++ b/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala
@@ -172,7 +172,7 @@ trait CommentFactory { thisFactory: ModelFactory with CommentFactory =>
/** Safe HTML tags that can be kept. */
protected val SafeTags =
- new Regex("""((&\w+;)|(<code( [^>]*)?>.*</code>)|(</?(abbr|acronym|address|area|a|bdo|big|blockquote|br|button|b|caption|cite|col|colgroup|dd|del|dfn|em|fieldset|form|hr|img|input|ins|i|kbd|label|legend|link|map|object|optgroup|option|param|pre|q|samp|select|small|span|strong|sub|sup|table|tbody|td|textarea|tfoot|th|thead|tr|tt|var)( [^>]*)?/?>))""")
+ new Regex("""((&\w+;)|(&#\d+;)|(<code( [^>]*)?>.*</code>)|(</?(abbr|acronym|address|area|a|bdo|big|blockquote|br|button|b|caption|cite|col|colgroup|dd|del|dfn|em|fieldset|form|hr|img|input|ins|i|kbd|label|legend|link|map|object|optgroup|option|param|pre|q|samp|select|small|span|strong|sub|sup|table|tbody|td|textarea|tfoot|th|thead|tr|tt|var)( [^>]*)?/?>))""")
protected val safeTagMarker = '\u000E'