diff options
Diffstat (limited to 'app/lib/formatter.rb')
-rw-r--r-- | app/lib/formatter.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index b405a4e08..e21ff07d0 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -257,7 +257,7 @@ class Formatter end def format_screenreader(html) - html.gsub(/\uf333(.*)\uf334/m, '<span aria-hidden="true">\1</span>') + html.gsub(/\ufdd3(.*)\ufdd4/m, '<span aria-hidden="true">\1</span>') end def format_console(html) @@ -372,9 +372,9 @@ class Formatter def bbcode_formatter(html) begin - html.gsub!(/\[(?=[^\w\/])/, "\uf666") + html.gsub!(/\[(?=[^\w\/])/, "\ufdd6") html = html.bbcode_to_html(false, BBCODE_TAGS, :enable, *BBCODE_TAGS.keys) - html.gsub!("\uf666", '[') + html.gsub!("\ufdd6", '[') rescue Exception => e end html |