Make contentTransformer names consistent

This commit is contained in:
bep 2015-04-01 00:54:26 +02:00
parent bec4bdae99
commit bec9b92d0c

View file

@ -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
}