Skip to content
Snippets Groups Projects
Commit e057cc74 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

done

parent 6da59492
No related branches found
No related tags found
No related merge requests found
{{ $correct := . }}
{{ $signs := slice ";" ":" "!" "?" }}
{{ range $signs }}
{{ $correct = replace $correct (printf " %s" .) (printf " %s" .) }}
{{ end }}
{{ return $correct }}
{{ return {{
safeHTML ( return
chomp ( safeHTML (
partial "CorrectPunctuation" ( partial "FilterIframeLazy" (
partial "FilterIframeLazy" ( .
.
)
) )
) )
) }} }}
{{ $text := . }} {{
{{ $text = replace $text "\r\n" "\n" }} return
{{ $text = replace $text "\r" "\n" }} safeHTML (
{{ $text = replace $text "\n" "<br/>" }} .
{{ $text = $text | safeHTML }} )
{{ return $text}} }}
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment