We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf4e901 commit d877a45Copy full SHA for d877a45
lib/docs/filters/core/clean_text.rb
@@ -2,7 +2,7 @@
2
3
module Docs
4
class CleanTextFilter < Filter
5
- EMPTY_NODES_RGX = /<(?!td|th|iframe|mspace)(\w+)[^>]*>[[:space:]]*<\/\1>/
+ EMPTY_NODES_RGX = /<(?!td|th|iframe|mspace|rect|path|ellipse|line|polyline)(\w+)[^>]*>[[:space:]]*<\/\1>/
6
7
def call
8
return html if context[:clean_text] == false
0 commit comments