File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
ForgeDiscussion/forgediscussion/tests/functional
ForgeTracker/forgetracker Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ def test_notifications_escaping(self):
518518 r = self .app .post ('/discussion/save_new_topic' , params = params )
519519 n = M .Notification .query .find (
520520 dict (subject = "[test:discussion] this is <h2> o'clock" )).first ()
521- assert '---\n \n [this is <h2> o' clock]' in n .text
521+ assert '---\n \n [this is <h2> o\' clock]' in n .text
522522
523523 def _set_anon_allowed (self ):
524524 r = self .app .get ('/admin/discussion/permissions' )
Original file line number Diff line number Diff line change 3535{% elif key == 'labels' -%}
3636- **{{key}}**: {{', '.join(oldv) |escape_markdown }} --> {{', '.join(newv) |escape_markdown }}
3737{% else -%}
38- - **{{key}}**: {{oldv |escape_markdown if oldv is not none else ''}} --> {{newv |escape_markdown if newv is not none else ''}}
38+ - **{{key}}**: {{ ( oldv|string) |escape_markdown if oldv is not none else ''}} --> {{ ( newv|string) |escape_markdown if newv is not none else ''}}
3939{% endif -%}
4040{% endif -%}
4141{% endfor -%}
Original file line number Diff line number Diff line change @@ -1711,7 +1711,7 @@ def test_new_ticket_notification_contains_attachments(self):
17111711 ).first ()
17121712 expected_text = (
17131713 '**Attachments:**\n \n '
1714- '- [tést_root .py]'
1714+ '- [tést \\ _root .py]'
17151715 '(http://localhost/p/test/bugs/1/attachment/t%C3%A9st_root.py)' )
17161716 assert expected_text in email .kwargs ['text' ]
17171717
You can’t perform that action at this time.
0 commit comments