diff --git a/web/profiles/custom/yalesites_profile/composer.json b/web/profiles/custom/yalesites_profile/composer.json index 35b74cd8d9..af3615b91a 100644 --- a/web/profiles/custom/yalesites_profile/composer.json +++ b/web/profiles/custom/yalesites_profile/composer.json @@ -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", diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.extension.yml b/web/profiles/custom/yalesites_profile/config/sync/core.extension.yml index aa9df79264..37b4b82661 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.extension.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.extension.yml @@ -118,6 +118,7 @@ module: token: 0 toolbar: 0 twig_tweak: 0 + typogrify: 0 update: 0 upgrade_status: 0 user: 0 diff --git a/web/profiles/custom/yalesites_profile/config/sync/filter.format.basic_html.yml b/web/profiles/custom/yalesites_profile/config/sync/filter.format.basic_html.yml index 2e7f11851e..6321685235 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/filter.format.basic_html.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/filter.format.basic_html.yml @@ -6,6 +6,7 @@ dependencies: - editor - improve_line_breaks_filter - linkit + - typogrify name: 'Basic HTML' format: basic_html weight: 0 @@ -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:"''''";}' diff --git a/web/profiles/custom/yalesites_profile/config/sync/filter.format.heading_html.yml b/web/profiles/custom/yalesites_profile/config/sync/filter.format.heading_html.yml index 198644fb40..9be1ab2650 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/filter.format.heading_html.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/filter.format.heading_html.yml @@ -4,6 +4,7 @@ status: true dependencies: module: - improve_line_breaks_filter + - typogrify name: 'Heading HTML' format: heading_html weight: 0 @@ -14,7 +15,7 @@ filters: status: true weight: -10 settings: - allowed_html: ' ' + allowed_html: '

' filter_html_help: false filter_html_nofollow: false improve_line_breaks_filter: @@ -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:"''''";}' diff --git a/web/profiles/custom/yalesites_profile/config/sync/filter.format.restricted_html.yml b/web/profiles/custom/yalesites_profile/config/sync/filter.format.restricted_html.yml index 0e6f6ffc65..47504c02e4 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/filter.format.restricted_html.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/filter.format.restricted_html.yml @@ -4,6 +4,7 @@ status: true dependencies: module: - improve_line_breaks_filter + - typogrify name: 'Restricted HTML' format: restricted_html weight: 1 @@ -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:"''''";}'