diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-18 17:33:12 +0100 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-18 17:33:12 +0100 |
commit | e7099cfa26d31cc7544e6db37899678ef8bd65ff (patch) | |
tree | 3a0152bfbd63c84b23fc578063f9c02b0e9dd0f0 /transform/absurl.go | |
parent | 98ee69bce207a4c2a7c2ffca2b3e7c0ccdd6e8c9 (diff) |
Un-export ContentReWriter
Diffstat (limited to 'transform/absurl.go')
-rw-r--r-- | transform/absurl.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/transform/absurl.go b/transform/absurl.go index fa1d99306..b4bd1dff4 100644 --- a/transform/absurl.go +++ b/transform/absurl.go @@ -17,7 +17,7 @@ func initAbsURLReplacer(baseURL string) { func AbsURL(absURL string) (trs []link, err error) { initAbsURLReplacer(absURL) - trs = append(trs, func(rw ContentReWriter) { + trs = append(trs, func(rw contentRewriter) { ar.replaceInHTML(rw) }) return @@ -26,7 +26,7 @@ func AbsURL(absURL string) (trs []link, err error) { func AbsURLInXML(absURL string) (trs []link, err error) { initAbsURLReplacer(absURL) - trs = append(trs, func(rw ContentReWriter) { + trs = append(trs, func(rw contentRewriter) { ar.replaceInXML(rw) }) return |