diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-04-01 01:54:26 +0300 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-04-01 01:54:40 +0300 |
commit | bec9b92d0cf45a893d3cd56460270b55d97c93f7 (patch) | |
tree | 478faa5e8781479446936a98771574643578a0aa /transform/absurl.go | |
parent | bec4bdae992841f011239dac8c685e13470a90f3 (diff) |
Make contentTransformer names consistent
Diffstat (limited to 'transform/absurl.go')
-rw-r--r-- | transform/absurl.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/transform/absurl.go b/transform/absurl.go index 0bd579b4c..89727a705 100644 --- a/transform/absurl.go +++ b/transform/absurl.go @@ -18,8 +18,8 @@ func absURLFromURL(URL string) (trs []link, err error) { } func absURLFromReplacer(ar *absURLReplacer) (trs []link, err error) { - trs = append(trs, func(rw contentTransformer) { - ar.replaceInHTML(rw) + trs = append(trs, func(ct contentTransformer) { + ar.replaceInHTML(ct) }) return } @@ -34,8 +34,8 @@ func absURLInXMLFromURL(URL string) (trs []link, err error) { } func absURLInXMLFromReplacer(ar *absURLReplacer) (trs []link, err error) { - trs = append(trs, func(rw contentTransformer) { - ar.replaceInXML(rw) + trs = append(trs, func(ct contentTransformer) { + ar.replaceInXML(ct) }) return } |