Author: Nx.devnull
Description:
patch
Parser:clearTagHooks clears mTagHooks and resets mStripList to the default. However, it does not clear mFunctionTagHooks.
setFunctionTagHook adds a function tag to the strip list, so this creates an inconsistent state, where the tag is present in mFunctionTagHooks, but not mStripList.
As far as I can tell, clearTagHooks isn't called anywhere in core, and I don't know what its purpose is, but just clearing function tag hooks as well in clearTagHooks seems like a sensible fix.
Version: 1.20.x
Severity: normal
Attached: