enchanting text-style:none fails to override text-style:bold; workaround with css:
Created originally on Bitbucket by trivialfabricant (Leethe Petali)
There seems to be a problem in Harlowe 2 where if you apply (text-style:"bold") to some text using (enchant:), you can't later remove it using (text-style:"none").
The second (inner) enchantment fails to overwrite the bold formatting, because it doesn't actually add a "font-weight: normal" attribute, so the text continues to inherit bold styling from the first (outer) enchantment.
You can get around this by using (css:"font-weight: normal") in preference to (text-style:"none").
The code below reproduces the problem and demonstrates the workaround.
#!
[This is the text I will enchant.]<enchantme|
(link:"Make it bold red!")[(enchant:?enchantme, (text-style:"bold") + (text-colour:"red"))]
(link:"Make it normal again!")[(enchant:?enchantme, (text-style:"none") + (text-colour:"white"))]
(link:"Make it normal again, properly this time with CSS.")[(enchant:?enchantme, (css:"font-weight: normal") + (text-colour:"white"))]
Screenshot after clicking 2nd link (shows problem):
Screenshot after clicking 3rd link (shows workaround):