|
|
|
@ -3189,7 +3189,7 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction,
|
|
|
|
|
elif terms[2] == 'hexcode':
|
|
|
|
|
replace = value.__repr__()[2:-1].replace('\\u0','\\x')
|
|
|
|
|
|
|
|
|
|
replace = replace.decode("UTF-8")
|
|
|
|
|
replace = replace.decode("UTF-8") if isinstance(replace, bytes) else replace
|
|
|
|
|
textTemplateTmp = textTemplateTmp[:resS.start()] + replace + \
|
|
|
|
|
textTemplateTmp[resS.end():]
|
|
|
|
|
return textTemplateTmp
|
|
|
|
|