mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
test: Added tests for sectionate extension.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user