Merge lp:~vikoadi/pantheon-print/fix-markup-print into lp:~elementary-apps/pantheon-print/trunk
Proposed by
Viko Adi Rahmawan
Status: | Merged |
---|---|
Approved by: | Cody Garver |
Approved revision: | 12 |
Merged at revision: | 10 |
Proposed branch: | lp:~vikoadi/pantheon-print/fix-markup-print |
Merge into: | lp:~elementary-apps/pantheon-print/trunk |
Diff against target: |
28 lines (+2/-4) 1 file modified
src/pantheon-print.vala (+2/-4) |
To merge this branch: | bzr merge lp:~vikoadi/pantheon-print/fix-markup-print |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cody Garver (community) | Approve | ||
Niclas Lockner (community) | Approve | ||
elementary Apps team | test with actual printer | Pending | |
Review via email: mp+229720@code.launchpad.net |
Commit message
Use set_text to ensure escaped text (lp:1086015)
Description of the change
pantheon-print cannot print text with markup
for example try to print html text.
so this replace greater than and lower than with > and <
nb:I cannot try with printer as i have none, but at least it work in print to file
To post a comment you must log in.
The markup shouldn't be manually escaped, but escaped with Markup.escape_text. After that change, printing from Scratch to a PDF works for me.