app/helpers/application_helper.rb
# specific blockquote handling is due to simple_format wanting to wrap a blockquote in a paragraph
specific blockquote handling is due to simple_format wanting to wrap a blockquote in a paragraph
specific blockquote handling is due to simple_format wanting to wrap a blockquote in a paragraph
def sanitize_written_content(content)
    unless content[P_TAG] || content[BR_TAG]
      content = if content[BLOCKQUOTE_QUICK_SEARCH] && content[BLOCKQUOTE_TAG]
        content.gsub(LINEBREAK, BR)
      else
        simple_format_largebreak(content, sanitize: false)
      end
    end
    Glowfic::Sanitizers.written(content)
  end
def sanitize_written_content ( content ) unless content [ P_TAG ] || content [ BR_TAG ] content = if content [ BLOCKQUOTE_QUICK_SEARCH ] && content [ BLOCKQUOTE_TAG ] content . gsub ( LINEBREAK , BR ) else simple_format_largebreak ( content , sanitize : false ) end end Glowfic :: Sanitizers . written ( content ) end
specific blockquote handling is due to simple_format wanting to wrap a blockquote in a paragraph
specific blockquote handling is due to simple_format wanting to wrap a blockquote in a paragraph
content
<not_specific>