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

Unified Diff: pkg/polymer/tool/create_message_details_page.dart

Issue 711783002: make sure not to interpret things inside messages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/tool/create_message_details_page.dart
diff --git a/pkg/polymer/tool/create_message_details_page.dart b/pkg/polymer/tool/create_message_details_page.dart
index 37e72a6d7b3dd1b79d031e39459dccffa26543a6..0e178cd24f74a6c153fc8236496d83386bb69b12 100644
--- a/pkg/polymer/tool/create_message_details_page.dart
+++ b/pkg/polymer/tool/create_message_details_page.dart
@@ -84,7 +84,7 @@ _generateMessage(MessageTemplate template, bool forSite, StringBuffer sb) {
var id = template.id;
var hashTag = '${id.package}_${id.id}';
var title = '### ${template.description} [#${id.id}](#$hashTag)';
- var body = '\n$details\n\n----\n\n';
+ var body = '\n{% raw %}$details{% endraw %}\n\n----\n\n';
// We add the anchor inside the <h3> title, otherwise the link doesn't work.
if (forSite) {
sb..write(title)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698