aboutsummaryrefslogtreecommitdiffstats
path: root/tests/safe_mode/replace.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-12-30 13:58:58 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2014-12-30 13:58:58 -0500
commit49fa23af8141f7c5665e2e8633ad425cd823dfec (patch)
tree66bf2bbc9a12578dac6db8e97672838ad92a4833 /tests/safe_mode/replace.txt
parent86ca8ce1eb316f796d9a3e8e70da0ad844a89f48 (diff)
downloadmarkdown-49fa23af8141f7c5665e2e8633ad425cd823dfec.tar.gz
markdown-49fa23af8141f7c5665e2e8633ad425cd823dfec.tar.bz2
markdown-49fa23af8141f7c5665e2e8633ad425cd823dfec.zip
Preserve order of nested headers in TOC
Fixes #380. The TOC replacement is now seperate from building the TOC, which allows us to iter through the doc in order rather than with the non-order-preserving interparent pethod. This is almost a complete refactor of the run method. Also cleaned up the config stuff. Thanks to @colewerner for the report and test case.
Diffstat (limited to 'tests/safe_mode/replace.txt')
0 files changed, 0 insertions, 0 deletions
href='#n120'>120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175