а́`,
+ want: `[]а́`,
wantErr: false,
},
{
diff --git a/backend/dictionary/grammardb.go b/backend/dictionary/grammardb.go
index 9f6270b..c773dcc 100644
--- a/backend/dictionary/grammardb.go
+++ b/backend/dictionary/grammardb.go
@@ -12,7 +12,7 @@ type GrammarDB struct {
func (d GrammarDB) ToHTML(content string) template.HTML {
re := regexp.MustCompile(`.\x{0301}`)
- substitution := "$0"
+ substitution := `$0`
content = re.ReplaceAllString(content, substitution)
diff --git a/backend/dictionary/html.go b/backend/dictionary/html.go
index fd0aa3b..42d3c26 100644
--- a/backend/dictionary/html.go
+++ b/backend/dictionary/html.go
@@ -16,7 +16,7 @@ func (d HTML) ToHTML(content string) template.HTML {
content = norm.NFD.String(content)
re := regexp.MustCompile(`.\x{0301}`)
- substitution := "$0"
+ substitution := `$0`
content = re.ReplaceAllString(content, substitution)
diff --git a/frontend/styles.css b/frontend/styles.css
index e7d2e33..b4c97d2 100644
--- a/frontend/styles.css
+++ b/frontend/styles.css
@@ -71,10 +71,10 @@ textarea, input[type="text"], input[type="button"], input[type="submit"] {
font-weight:lighter;
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace !important;
}
-.article v-accent {color: brown;}
-[data-bs-theme=dark] .article v-accent {color: inherit;}
-.article v-ex v-accent {color: rgba(165, 42, 42, 0.5);}
-[data-bs-theme=dark] .article v-ex v-accent {color: inherit;}
+.article .accent {color: brown;}
+[data-bs-theme=dark] .article .accent {color: inherit;}
+.article v-ex .accent {color: rgba(165, 42, 42, 0.5);}
+[data-bs-theme=dark] .article v-ex .accent {color: inherit;}
.article > .source {text-align: right; color: darkgrey; font-size: 0.9em; padding-top: 3px}
.article p {margin: 0;}
.article.hsbm img {max-width:100%;}