Skip to content

Commit 317ec44

Browse files
committed
iff
1 parent bbfff9b commit 317ec44

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

main.odin

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,6 +1631,13 @@ write_markup_text :: proc(w: io.Writer, s_: string, code_inline := false) {
16311631

16321632
runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD()
16331633

1634+
needles := []string{"If and only if (⟺)", "if and only if (⟺)"}
1635+
for needle in needles {
1636+
if strings.index(s, needle) != -1 {
1637+
s, _ = strings.replace_all(s, needle, "<abbr title=\"If and only if\">⟺</abbr>", context.temp_allocator)
1638+
}
1639+
}
1640+
16341641
latest_index := 0
16351642
for index := 0; index < len(s); index += 1 {
16361643
switch s[index] {

0 commit comments

Comments
 (0)