Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YALB-1057: Add automatic smartquotes #392

Merged
merged 3 commits into from
Sep 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/profiles/custom/yalesites_profile/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"drupal/simple_sitemap": "^4.1",
"drupal/smart_date": "^3.5",
"drupal/twig_tweak": "^3.1",
"drupal/typogrify": "^1.2",
"drupal/upgrade_status": "^3.18",
"drupal/webform": "^6.2@beta",
"drupal/wingsuit_companion": "^2.0@RC",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ module:
token: 0
toolbar: 0
twig_tweak: 0
typogrify: 0
update: 0
upgrade_status: 0
user: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- editor
- improve_line_breaks_filter
- linkit
- typogrify
name: 'Basic HTML'
format: basic_html
weight: 0
Expand Down Expand Up @@ -70,3 +71,24 @@ filters:
weight: 0
settings:
title: true
typogrify:
id: typogrify
provider: typogrify
status: true
weight: 10
settings:
smartypants_enabled: '1'
smartypants_hyphens: '2'
space_hyphens: '0'
widont_enabled: '0'
hyphenate_shy: '0'
space_to_nbsp: '1'
wrap_caps: '0'
wrap_ampersand: '0'
wrap_abbr: '0'
wrap_numbers: '0'
wrap_initial_quotes: '1'
ligatures: 'a:0:{}'
arrows: 'a:0:{}'
fractions: 'a:0:{}'
quotes: 'a:2:{s:2:",,";s:2:",,";s:2:"''''";s:2:"''''";}'
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
module:
- improve_line_breaks_filter
- typogrify
name: 'Heading HTML'
format: heading_html
weight: 0
Expand All @@ -14,7 +15,7 @@ filters:
status: true
weight: -10
settings:
allowed_html: '<strong> <em>'
allowed_html: '<em> <strong> <p>'
filter_html_help: false
filter_html_nofollow: false
improve_line_breaks_filter:
Expand All @@ -24,3 +25,24 @@ filters:
weight: 50
settings:
remove_empty_paragraphs: '0'
typogrify:
id: typogrify
provider: typogrify
status: true
weight: 10
settings:
smartypants_enabled: '1'
smartypants_hyphens: '2'
space_hyphens: '0'
widont_enabled: '0'
hyphenate_shy: '0'
space_to_nbsp: '1'
wrap_caps: '0'
wrap_ampersand: '0'
wrap_abbr: '0'
wrap_numbers: '0'
wrap_initial_quotes: '1'
ligatures: 'a:0:{}'
arrows: 'a:0:{}'
fractions: 'a:0:{}'
quotes: 'a:2:{s:2:",,";s:2:",,";s:2:"''''";s:2:"''''";}'
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
module:
- improve_line_breaks_filter
- typogrify
name: 'Restricted HTML'
format: restricted_html
weight: 1
Expand Down Expand Up @@ -43,3 +44,24 @@ filters:
weight: 50
settings:
remove_empty_paragraphs: '1'
typogrify:
id: typogrify
provider: typogrify
status: true
weight: 10
settings:
smartypants_enabled: '1'
smartypants_hyphens: '2'
space_hyphens: '0'
widont_enabled: '0'
hyphenate_shy: '0'
space_to_nbsp: '1'
wrap_caps: '0'
wrap_ampersand: '0'
wrap_abbr: '0'
wrap_numbers: '0'
wrap_initial_quotes: '1'
ligatures: 'a:0:{}'
arrows: 'a:0:{}'
fractions: 'a:0:{}'
quotes: 'a:2:{s:2:",,";s:2:",,";s:2:"''''";s:2:"''''";}'
Loading