diff options
author | Bjørn Erik Pedersen <[email protected]> | 2016-03-14 20:31:31 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2016-03-14 20:35:50 +0100 |
commit | 70739c972e910aed9321f1bc0efb97adeb741fd6 (patch) | |
tree | 6499f9610b9865dee157cad9131cc3d4edd56481 /transform | |
parent | 3a82ae7114b72704a4711844787e4f119939b8e2 (diff) | |
download | hugo-70739c972e910aed9321f1bc0efb97adeb741fd6.tar.gz hugo-70739c972e910aed9321f1bc0efb97adeb741fd6.zip |
Remove unnecessary type conversions
Diffstat (limited to 'transform')
-rw-r--r-- | transform/absurlreplacer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transform/absurlreplacer.go b/transform/absurlreplacer.go index 74cd76d49..c659a94e8 100644 --- a/transform/absurlreplacer.go +++ b/transform/absurlreplacer.go @@ -197,7 +197,7 @@ func checkCandidateSrcset(l *absurllexer) { section := l.content[l.pos+len(m.quote) : l.pos+posLastQuote+1] fields := bytes.Fields(section) - l.w.Write([]byte(m.quote)) + l.w.Write(m.quote) for i, f := range fields { if f[0] == '/' { l.w.Write(l.path) |