Skip to content

Commit

Permalink
Comment to XML conversion: adjust to upstream XML schema change
Browse files Browse the repository at this point in the history
Swift SVN r17148
  • Loading branch information
gribozavr committed May 1, 2014
1 parent 5b096cc commit c4ef6bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bindings/xml/comment-xml-schema.rng
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,9 @@
<element name="rawHTML">
<optional>
<!-- If not specified, the default value is 'false'. -->
<attribute name="isSafeToPassThrough">
<!-- The value 'false' or absence of the attribute does not imply
that the HTML is actually well-formed. -->
<attribute name="isMalformed">
<data type="boolean" />
</attribute>
</optional>
Expand Down
2 changes: 1 addition & 1 deletion lib/IDE/CommentConversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct CommentToXMLConverter {
: TheCommentContext(TheCommentContext), OS(OS) {}

void printRawHTML(StringRef Tag) {
OS << "<rawHTML isSafeToPassThrough=\"1\">";
OS << "<rawHTML>";
appendWithCDATAEscaping(OS, Tag);
OS << "</rawHTML>";
}
Expand Down

0 comments on commit c4ef6bd

Please sign in to comment.