Skip to content

Commit 612ea9f

Browse files
committed
Use the raw parameter to get_values to make the wg link not appear in the cvs export.
- Legacy-Id: 4532
1 parent adeafe8 commit 612ea9f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ietf/community/display.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ class WGField(DisplayField):
6363
description = 'Associated WG or RG'
6464

6565
def get_value(self, document, raw=False):
66-
return '<a href="%s">%s</a>' % (urlreverse('wg_docs', kwargs={'acronym':document.group.acronym}), document.group.acronym) if document.group else ''
66+
if raw:
67+
return document.group.acronym if document.group else ''
68+
else:
69+
return '<a href="%s">%s</a>' % (urlreverse('wg_docs', kwargs={'acronym':document.group.acronym}), document.group.acronym) if document.group else ''
6770

6871

6972
class ADField(DisplayField):

0 commit comments

Comments
 (0)