summaryrefslogtreecommitdiffhomepage
path: root/transform/absurl.go
diff options
context:
space:
mode:
Diffstat (limited to 'transform/absurl.go')
-rw-r--r--transform/absurl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/transform/absurl.go b/transform/absurl.go
index 1c721071d..0bd579b4c 100644
--- a/transform/absurl.go
+++ b/transform/absurl.go
@@ -18,7 +18,7 @@ func absURLFromURL(URL string) (trs []link, err error) {
}
func absURLFromReplacer(ar *absURLReplacer) (trs []link, err error) {
- trs = append(trs, func(rw contentRewriter) {
+ trs = append(trs, func(rw contentTransformer) {
ar.replaceInHTML(rw)
})
return
@@ -34,7 +34,7 @@ func absURLInXMLFromURL(URL string) (trs []link, err error) {
}
func absURLInXMLFromReplacer(ar *absURLReplacer) (trs []link, err error) {
- trs = append(trs, func(rw contentRewriter) {
+ trs = append(trs, func(rw contentTransformer) {
ar.replaceInXML(rw)
})
return