Zim

Merge lp:~bkidwell/zim/fix-html-export-quote into lp:~jaap.karssenberg/zim/pyzim

Proposed by Brendan Kidwell
Status: Rejected
Rejected by: Jaap Karssenberg
Proposed branch: lp:~bkidwell/zim/fix-html-export-quote
Merge into: lp:~jaap.karssenberg/zim/pyzim
Diff against target: 11 lines (+1/-0)
1 file modified
zim/formats/html.py (+1/-0)
To merge this branch: bzr merge lp:~bkidwell/zim/fix-html-export-quote
Reviewer Review Type Date Requested Status
Jaap Karssenberg Pending
Review via email: mp+199581@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

See bug report for dicsussion

Unmerged revisions

676. By Brendan Kidwell

HTML export: Correctly encode double quote character (0x22) as HTML entity

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'zim/formats/html.py'
2--- zim/formats/html.py 2012-12-10 22:26:43 +0000
3+++ zim/formats/html.py 2013-12-18 22:38:44 +0000
4@@ -29,6 +29,7 @@
5 text = text.replace('&', '&')
6 text = text.replace('<', '&lt;')
7 text = text.replace('>', '&gt;')
8+ text = text.replace('"', '&quot;')
9 return text
10 else:
11 return ''