Skip to content

Commit e32d418

Browse files
authored
fix(typst-community/glossarium/#188): update plain-text call to get-plain-text
During refactoring and renaming the function I did not update all occurrences of the function
1 parent e3fdf82 commit e32d418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/default.typ

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,8 +1294,8 @@
12941294
#let default-print-title(entry) = {
12951295
let caption = []
12961296
let txt = strong.with(delta: 200)
1297-
let short-val = plain-text(entry.at("short"))
1298-
let long-val = plain-text(entry.at("long"))
1297+
let short-val = get-plain-text(entry.at("short"))
1298+
let long-val = get-plain-text(entry.at("long"))
12991299
if has-long(entry) and has-short(entry) {
13001300
caption += txt(emph(short-val) + [ -- ] + long-val)
13011301
} else if has-long(entry) {

0 commit comments

Comments
 (0)