From 3e938f1a1fdb5064f8d11060685699d3217d16a2 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 17 Jul 2021 14:44:36 -0400 Subject: Display pronunciation refactor (#1835) * Simplify svg and container styles * Rename pitch-accent-details to pitch-accent-graph-container * Rename pitch-accent-graph* to pronunciation-graph* * Remove unused template * Omit quotes * Rename pitch-accent-character to pronunciation-mora * Simplify names * Replace pronunciation-mora-inner with pronunciation-character * Improve grouping of nasal characters * Simplify character replacement * Replace pseudo-elements with real elements * Use an element rather than a fragment * Rename functions * Add wrapper * Rename pitch-accent-characters to pronunciation-text-container * Update test data * Update downstep notation generation * Rename pitch-accent-position to pronunciation-downstep-notation-container * Space * Wrap pronunciations in a container node * Update preview * Embed pitch accent styles directly --- ext/display-templates.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/display-templates.html') diff --git a/ext/display-templates.html b/ext/display-templates.html index 1107ead3..3ae53b18 100644 --- a/ext/display-templates.html +++ b/ext/display-templates.html @@ -84,8 +84,7 @@ - - +