Browse Source

Altera sintaxe

pull/1853/head
Edward 8 years ago
committed by GitHub
parent
commit
6bcd635e1d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      sapl/utils.py

10
sapl/utils.py

@ -707,13 +707,13 @@ def TrocaTag(texto, startTag, endTag, sizeStart, sizeEnd, styleName):
if (texto[i:i + sizeEnd] == endTag): if (texto[i:i + sizeEnd] == endTag):
textoSaida += 'blockTable><para>' textoSaida += 'blockTable><para>'
insideTag = 0 insideTag = 0
i = i + sizeEnd i += sizeEnd
else: else:
textoSaida += texto[i] textoSaida += texto[i]
i = i + 1 i += 1
else: else:
textoSaida += texto[i] textoSaida += texto[i]
i = i + 1 i += 1
return textoSaida return textoSaida
@ -729,6 +729,6 @@ def RemoveTag(texto):
else: else:
textoSaida += texto[i] textoSaida += texto[i]
i = i + 1 i += 1
return textoSaida return textoSaida

Loading…
Cancel
Save