ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

preview.html (692B)


      1 {{ $list_span := . | replaceRE "<li( id=\"fn:[\\d]+\" role=\"doc-endnote\")?>(\\n<p>)?" "<li${1}>${2}<span></span>" }}
      2 {{ $fntag := $list_span | replaceRE "(<sup id=\"fnref:\\d{1,5}\")" "${1} style=\"display:none;\" " }}
      3 {{ $footnote := $fntag | replaceRE "(<div class=\"footnotes\")" "${1} style=\"display:none;\" " }}
      4 {{ $headerbefore := $footnote | replaceRE "(<a) (class=\"before-hash\")" "${1} style=\"display:none;\" ${2}" }}
      5 {{ $headerafter := $footnote | replaceRE "(<a) (class=\"headline-hash\")" "${1} style=\"display:none;\" ${2}" }}
      6 {{ $checkbox_non_disabled := $headerafter | replaceRE "disabled=\"\" type=\"checkbox" "type=\"checkbox" }}
      7 {{ $checkbox_non_disabled | safeHTML }}