Skip to content

Commit 32c7740

Browse files
committed
Reverted a number of changes to the scribe template which made life more difficult for the scribe.
- Legacy-Id: 4820
1 parent 66f3115 commit 32c7740

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

ietf/templates/iesg/scribe_doc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<a href="http://www.ietf.org/id/{{doc.obj.canonical_name}}-{{doc.obj.rev}}.txt">[txt]</a>
5454
{% endif %}
5555
{% endwith %}
56-
<br/>Token: {{ doc.obj.ad|escape }} ({{doc.obj.area_acronym}} area)
56+
<br/>Token: {{ doc.obj.ad.plain_name|escape }} ({{doc.obj.area_acronym}} area)
5757
{% if doc.obj.note %}{# note: note is not escaped #}
5858
<br/>Note: {{ doc.obj.note|safe }}
5959
{% endif %}

ietf/templates/iesg/scribe_doc2.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,23 @@
3939
<p><b>{{ doc.obj.name }}</b></p>
4040

4141
{% if doc.obj.active_ballot %}
42+
{% autoescape off %}
4243
<ul>
4344
{% for p in doc.obj.active_ballot.active_ad_positions.values %}
4445
{% if p.pos and p.discuss %}
4546
<li>
46-
<a name="{{doc.obj.name}}+{{p.ad|slugify}}+discuss">{{ p.ad }}: Discuss [{{ p.discuss_time }}]</a>:
47-
<br/>{{ p.discuss }}
47+
<a name="{{doc.obj.name}}+{{p.ad.plain_name|slugify}}+discuss">{{ p.ad.plain_name }}: Discuss [{{ p.discuss_time }}]</a>:
48+
<br/><pre>{{ p.discuss }}</pre>
4849
</li>
4950
{% endif %}
5051

5152
{% if p.pos and p.comment %}
5253
<li>
53-
<a name="{{doc.obj.name}}+{{p.ad|slugify}}+comment">{{ p.ad }}: Comment [{{ p.comment_time }}]</a>:
54-
<br/>{{ p.comment }}
54+
<a name="{{doc.obj.name}}+{{p.ad.plain_name|slugify}}+comment">{{ p.ad.plain_name }}: Comment [{{ p.comment_time }}]</a>:
55+
<br/><pre>{{ p.comment }}</pre>
5556
</li>
5657
{% endif %}
5758
{% endfor %}
5859
</ul>
60+
{% endautoescape %}
5961
{% endif%}

ietf/templates/iesg/scribe_template.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% comment %}
1+
{% comment %}<!--
22
Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
33
All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com>
44
@@ -30,11 +30,10 @@
3030
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3131
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3232
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33-
{% endcomment %}{% comment %}
33+
-->{% endcomment %}{% comment %}
3434
Some parts Copyright (c) 2009 The IETF Trust, all rights reserved.
35-
{% endcomment %}<!DOCTYPE html
36-
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
37-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
35+
{% endcomment %}<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
36+
<!-- Please don't change the doctype. It messes up things for the scribe. -->
3837
<html xmlns="http://www.w3.org/1999/xhtml">
3938
<head>
4039
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

0 commit comments

Comments
 (0)