mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Whoops, should be HTML encoding tiddler div fields
This commit is contained in:
parent
4a783d08c6
commit
a689abf0c1
@ -113,7 +113,7 @@ exports["application/x-tiddler-html-div"] = function(tiddler) {
|
||||
pullField("title");
|
||||
// Output the fields
|
||||
for(f=0; f<fields.length; f++) {
|
||||
result.push(" " + fields[f] + "=\"" + tiddler.getFieldString(fields[f]) + "\"");
|
||||
result.push(" " + fields[f] + "=\"" + $tw.utils.htmlEncode(tiddler.getFieldString(fields[f])) + "\"");
|
||||
}
|
||||
result.push(">\n<pre>");
|
||||
result.push($tw.utils.htmlEncode(tiddler.fields.text));
|
||||
|
Loading…
Reference in New Issue
Block a user