fix stripping of html in conditional replacement
This commit is contained in:
parent
aef584f0a8
commit
b75d9040de
@ -97,6 +97,8 @@ class Template:
|
||||
|
||||
replacer = ''
|
||||
inverted = section[2] == "^"
|
||||
if val:
|
||||
val = stripHTMLMedia(val).strip()
|
||||
if (val and not inverted) or (not val and inverted):
|
||||
replacer = inner
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user