Open ellemenno opened 5 years ago
jsfiddle to reproduce issue: https://jsfiddle.net/ellemenno/f1tdw9pm/
Added escaping in https://github.com/fomantic/Fomantic-UI See your adjusted fiddle here https://jsfiddle.net/us495x0f/
@lubber-de —thanks, that was fast!
It looks like FUI also has a supported SASS distro? hmm.. i'll look at this project more closely.
When
tabPath
is sent to jQuery intab.js#L382
, it does not escape meta characters such as code>!"#$%&'()*+,./:;<=>?@[]`{|}~</code, which can result in uncaught errors.e.g. kramdown creates footnote fragment links in the format
#fn:4
, which results in the following error from tab.js+jQuery:According the the jQuery docs, meta characters should be escaped via double backslashes (
\\
): http://api.jquery.com/category/selectors/