Merge lp:~willmoggridge/usn-tool/sanitizehtml into lp:usn-tool
Proposed by
Will Moggridge
Status: | Merged |
---|---|
Approved by: | Tyler Hicks |
Approved revision: | 126 |
Merged at revision: | 127 |
Proposed branch: | lp:~willmoggridge/usn-tool/sanitizehtml |
Merge into: | lp:usn-tool |
Diff against target: |
44 lines (+13/-4) 1 file modified
templates/webpage-markdown.txt (+13/-4) |
To merge this branch: | bzr merge lp:~willmoggridge/usn-tool/sanitizehtml |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tyler Hicks (community) | Approve | ||
Review via email: mp+340743@code.launchpad.net |
Description of the change
Update markdown content escaping.
Move the function to a macro and add escaping to HTML by converting < and > to HTMl attributes.
To post a comment you must log in.
It looks like this change is doing something odd in USN-288-1. I see this in the new site:
"... which is the representation of the backslash character >><< in ASCII."
It should be displaying ">>/<<" instead of ">><<".
Is that hugo getting confused by the backslash in ">> \<< "?
I admit that this is an overly complex USN text so I don't necessarily consider this a blocker. I was just wondering if you could easily spot the problem?