diff options
Diffstat (limited to 'transform/absurlreplacer.go')
-rw-r--r-- | transform/absurlreplacer.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/transform/absurlreplacer.go b/transform/absurlreplacer.go index 66fdaf689..1f3f77d9a 100644 --- a/transform/absurlreplacer.go +++ b/transform/absurlreplacer.go @@ -176,7 +176,7 @@ func (l *contentlexer) replace() { } } -func doReplace(rw ContentReWriter, matchers []absURLMatcher) { +func doReplace(rw contentRewriter, matchers []absURLMatcher) { lexer := &contentlexer{ content: rw.Content(), @@ -226,10 +226,10 @@ func newAbsURLReplacer(baseURL string) *absURLReplacer { } -func (au *absURLReplacer) replaceInHTML(rw ContentReWriter) { +func (au *absURLReplacer) replaceInHTML(rw contentRewriter) { doReplace(rw, au.htmlMatchers) } -func (au *absURLReplacer) replaceInXML(rw ContentReWriter) { +func (au *absURLReplacer) replaceInXML(rw contentRewriter) { doReplace(rw, au.xmlMatchers) } |