"do text from text('a < b')" fails
Bug #778728 reported by
Luc Saffre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Appy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The appy.pod.
One solution would be to insert a line
text = cgi.escape(text)
before the line
text = text.replace(
in that function (and import the `cgi` module at the top of the file).
Note that this would change the current behavious for usages like
do text
from text('This\nis a <b>formatted<
where the "<b>" would be rendered as text instead of having the word "formatted" in bold.
But IMHO such use cases anyway make not much sense, so I'd say that my suggestion is okay.
Luc
Changed in appy: | |
milestone: | none → 0.6.7 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Luc, bazaar. launchpad. net/~appy- dev/appy/ trunk/revision/ 154
Fix was committed, thank you !
http://
G