1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-26 20:14:43 +01:00

Remove dead fields from HTMLRenderer

This commit is contained in:
Vytautas Šaltenis 2016-07-05 07:33:21 +03:00
parent 2f1f0b6b9f
commit 6291a00f2f

View File

@ -93,12 +93,6 @@ type HTMLRenderer struct {
closeTag string // how to end singleton tags: either " />" or ">"
// table of contents data
tocMarker int
headerCount int
currentLevel int
toc bytes.Buffer
// Track header IDs to prevent ID collision in a single generation.
headerIDs map[string]int