Module: StandaloneTypograf::Quotes

Extended by:
ActiveSupport::Concern
Included in:
StandaloneTypograf
Defined in:
lib/standalone_typograf/quotes.rb

Defined Under Namespace

Classes: Processor

Constant Summary collapse

Q =

source quote

'"'
CHARS =
{
    :outer_left  => {html: '«', utf: '«'},
    :outer_right => {html: '»', utf: '»'},
    :inner_left  => {html: '„', utf: ''},
    :inner_right => {html: '“', utf: ''},
}.freeze
LOCK =

global locks

{
    inside:     false, # inside outer quotes
    outer_open: false, # outer quote opens but not still closed
    inner_open: false, # inner quote opens but not still closed
}