Hotwords and WikiWords should not be (distinct) links when they appear in a line of maketoc, the parser should just treat them as regular text.
To do so, the value of $line in parse_data_process_maketoc() could be copied before it is parsed calling parse_data_inline_syntax(). That unparsed copy could then be used instead of what $line has become when building $title_text_base to append to $anch, about 200 lines below. It would still need to be parsed to a lesser degree though. It seems calling parse_data_inline_syntax() with true as third argument would do the trick (even though that's claiming to be CKeditor).
|No attachments for this item|