Remove <wbr> tags from posts with TeX.
This commit is contained in:
parent
89086b8420
commit
684ea23948
@ -63,6 +63,8 @@ Fourchan =
|
||||
|
||||
math: ->
|
||||
return unless /\[(math|eqn)\]/.test @nodes.comment.textContent
|
||||
# XXX <wbr> tags frequently break MathJax; remove them.
|
||||
$.rm wbr for wbr in $$ 'wbr', @nodes.comment
|
||||
cb = =>
|
||||
return unless doc.contains @nodes.comment
|
||||
$.off d, 'PostsInserted', cb
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user