-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: double escape problem of MyST-Parser #108
Conversation
|
||
def setup(app): | ||
# refs: https://github.com/executablebooks/MyST-Parser/issues/760 | ||
base.escapeHtml = lambda s: s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
へー。参考になる。
return { | ||
'version': '0.1', | ||
'env_version': 1, | ||
'parallel_read_safe': True, | ||
'parallel_write_safe': True, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
プレビューでちゃんと動作していることを確認した https://wwwpyconjp--108.org.readthedocs.build/policies/internet-policy.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
myst_patchという、エクステンションを作って、その中で上書きしているのか。
面白い。
|
||
def setup(app): | ||
# refs: https://github.com/executablebooks/MyST-Parser/issues/760 | ||
base.escapeHtml = lambda s: s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
へー。参考になる。
fix for #107
MyST-Parser で & を含むURLを二重エスケープしてしまっている問題の修正。