Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Unified Diff: tests/lib/convert/html_escape_test.dart

Issue 1083413004: Make html-escape also escape < and > in attributes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/convert/html_escape.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/convert/html_escape_test.dart
diff --git a/tests/lib/convert/html_escape_test.dart b/tests/lib/convert/html_escape_test.dart
index 8a13773d2fb3d77543d87f5c09ff457318ead329..a9d0b6717311672522a67558c21e47bb9004a2d3 100644
--- a/tests/lib/convert/html_escape_test.dart
+++ b/tests/lib/convert/html_escape_test.dart
@@ -14,10 +14,10 @@ const _OUTPUT_UNKNOWN = '&lt;A &lt;&#47;test&gt; of \xA0 &quot;double&quot; '
'&amp; &#39;single&#39; values&gt;';
const _OUTPUT_ATTRIBUTE =
- "<A </test> of \xA0 &quot;double&quot; &amp; 'single' values>";
+ "&lt;A &lt;/test&gt; of \xA0 &quot;double&quot; &amp; 'single' values&gt;";
const _OUTPUT_SQ_ATTRIBUTE =
- '<A </test> of \xA0 "double" &amp; &#39;single&#39; values>';
+ '&lt;A &lt;/test&gt; of \xA0 "double" &amp; &#39;single&#39; values&gt;';
const _OUTPUT_ELEMENT =
"""&lt;A &lt;/test&gt; of \xA0 "double" &amp; 'single' values&gt;""";
« no previous file with comments | « sdk/lib/convert/html_escape.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698