Module: StandaloneTypograf::Mnemonics
- Extended by:
- ActiveSupport::Concern
- Included in:
- StandaloneTypograf
- Defined in:
- lib/standalone_typograf/mnemonics.rb
Defined Under Namespace
Modules: Processor
Constant Summary collapse
- TEMPLATES =
Contains regexps. May contain signs in several languages separated by regexp’s OR e.g. eng|рус
{ '\([c|с]\)' => { html: '©', utf: '©' }, '\((tm|тм)\)' => { html: '™', utf: '™' }, '\([r|р]\)' => { html: '®', utf: '®' }, '(\+\-)' => { html: '±', utf: '±' }, '(\-\>)' => { html: '→', utf: '→' }, '(\<\-)' => { html: '←', utf: '←' }, '(\~\=)' => { html: '≈', utf: '≈' }, }.freeze