mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-01-20 19:29:58 +00:00
Update pattern used to remove MathJaX script injected by asciidoctor
This commit is contained in:
parent
e24e42dcff
commit
a453c9837b
@ -19,7 +19,7 @@ include ::Asciidoctor
|
||||
class ReplaceMathjaxWithKatex < Extensions::Postprocessor
|
||||
|
||||
MathJaXScript = /<script type="text\/x-mathjax-config">((?!<\/script>).)+<\/script>/m
|
||||
MathJaXCDN = '<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.6.0/MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>'
|
||||
MathJaXCDN = /<script src="https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/mathjax\/[0-9].[0-9].[0-9]\/MathJax.js\?config=[-_A-Za-z]+"><\/script>/m
|
||||
|
||||
def process document, output
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user