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:
@@ -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
|
||||
|
Reference in New Issue
Block a user