mirror of
https://github.com/tenox7/wrp.git
synced 2024-11-25 13:30:51 +00:00
remove commented out code
This commit is contained in:
parent
4070fa7a53
commit
22efadf9cf
1
wrp.go
1
wrp.go
@ -443,7 +443,6 @@ func (rq *wrpReq) toMarkdown() {
|
|||||||
link.Destination = append([]byte("?t=txt&url="), link.Destination...)
|
link.Destination = append([]byte("?t=txt&url="), link.Destination...)
|
||||||
}
|
}
|
||||||
if _, ok := node.(*ast.Image); ok && entering {
|
if _, ok := node.(*ast.Image); ok && entering {
|
||||||
//image.Destination = nil
|
|
||||||
ast.RemoveFromTree(node)
|
ast.RemoveFromTree(node)
|
||||||
}
|
}
|
||||||
return ast.GoToNext
|
return ast.GoToNext
|
||||||
|
Loading…
Reference in New Issue
Block a user