File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
administrator/components/com_finder/src/Indexer/Parser Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ public function parse($input)
7171 // Add a space before both the OPEN and CLOSE tags of BLOCK and LINE BREAKING elements,
7272 // e.g. 'all<h1><em>m</em>obile List</h1>' will become 'all mobile List'
7373 $ input = preg_replace ('/(<|<\/)( ' .
74- 'address|article|aside|blockquote|br|canvas|dd|div|dl|dt| ' .
75- 'fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|li| ' .
76- 'main|nav|noscript|ol|output|p|pre|section|table|tfoot|ul|video ' .
74+ 'address|article|aside|blockquote|br|canvas|cite|code|data|details| dd|div|dl|dt| ' .
75+ 'fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|li|label| ' .
76+ 'main|nav|noscript|ol|option| output|p|pre|section|table|td| tfoot|th |ul|video ' .
7777 ')\b/i ' , ' $1$2 ' , $ input );
7878
7979 // Strip HTML tags.
You can’t perform that action at this time.
0 commit comments