1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Un-export ContentReWriter

This commit is contained in:
bep
2015-03-18 17:33:12 +01:00
parent 98ee69bce2
commit e7099cfa26
5 changed files with 14 additions and 14 deletions

View File

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