Commit 8ae027f
committed
Fix issue #70: Properly handle stripping of # characters in tags
The tags need to be properly handled when parsing to ensure the # characters
are stripped correctly. We need to first strip whitespace with strip(), and
then strip the # characters with lstrip('#').
This fixes the issue where tags would accumulate # characters during
multiple edits.1 parent 50409e5 commit 8ae027f
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
| 151 | + | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
| 156 | + | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
0 commit comments