Skip to content
Snippets Groups Projects

Resolve "Parseur par type d'activité"

2 files
+ 6
2
Compare changes
  • Side-by-side
  • Inline

Files

@@ -87,7 +87,10 @@ def postEditMD(str):
regexANCHOR = re.compile(r"@ANCHORSTART@(.)@(.*?)@ANCHOREND")
str = regexANCHOR.sub(r"<span commentaireInfoId='\1'>\2</span>", str)
# For the comments themselves it is done in activite.rq
# For the comments themselves
if '@COMMENTIDSTART' in str :
str = str.replace('@COMMENTIDSTART@','<div class="commentaireInfo" id="').replace('@COMMENTIDEND','">') + '</div>'
###################################################
Loading