fix: Don't try to further linkify rfc2html output (#5112)
* fix: Don't try to further linkify rfc2html output Fixes #5111 * Fix test
This commit is contained in:
parent
4309a4bb50
commit
6a6a3db3b9
|
@ -740,7 +740,7 @@ Man Expires September 22, 2015 [Page 3]
|
|||
self.assertEqual(q('title').text(), 'draft-ietf-mars-test-01')
|
||||
self.assertEqual(len(q('.rfcmarkup pre')), 3)
|
||||
self.assertEqual(len(q('.rfcmarkup span.h1, .rfcmarkup h1')), 2)
|
||||
self.assertEqual(len(q('.rfcmarkup a[href]')), 28)
|
||||
self.assertEqual(len(q('.rfcmarkup a[href]')), 27)
|
||||
|
||||
r = self.client.get(urlreverse("ietf.doc.views_doc.document_html", kwargs=dict(name=draft.name, rev=draft.rev)))
|
||||
self.assertEqual(r.status_code, 200)
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
<div class="rfcmarkup">
|
||||
<br class="noprint">
|
||||
<!-- [html-validate-disable-block attr-quotes, void-style, element-permitted-content, heading-level -- FIXME: rfcmarkup/rfc2html generates HTML with issues] -->
|
||||
{{ doc.htmlized|default:"Generation of htmlized text failed"|linkify|safe }}
|
||||
{{ doc.htmlized|default:"Generation of htmlized text failed"|safe }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue