test: Added tests for sectionate extension.

This commit is contained in:
Spencer Brower
2026-07-17 15:05:33 -04:00
parent d05459af52
commit 9d2b2c4395
4 changed files with 64 additions and 12 deletions
+4 -2
View File
@@ -37,8 +37,10 @@ wrap_sections :: proc(html: string) -> string {
found = true
}
if !found {
if found {
return strings.to_string(sb)
} else {
return html
}
return strings.to_string(sb)
}