File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def at_line_start(self):
83
83
if self .offset > 3 :
84
84
return False
85
85
# Confirm up to first 3 chars are whitespace
86
- return self .rawdata [self .line_offset :self .offset ].strip () == ''
86
+ return self .rawdata [self .line_offset :self .line_offset + self . offset ].strip () == ''
87
87
88
88
def handle_starttag (self , tag , attrs ):
89
89
self .stack .append (tag )
Original file line number Diff line number Diff line change @@ -227,7 +227,6 @@ def test_raw_surrounded_by_text_without_blank_lines(self):
227
227
)
228
228
)
229
229
230
- # TODO: Fix this. Not sure why its failing...
231
230
def test_multiline_markdown_with_code_span (self ):
232
231
self .assertMarkdownRenders (
233
232
self .dedent (
@@ -240,8 +239,8 @@ def test_multiline_markdown_with_code_span(self):
240
239
self .dedent (
241
240
"""
242
241
<p>A paragraph with a block-level
243
- <code><p>code span</p></code>.
244
- More <em>Markdown</em> text .</p>
242
+ <code><p>code span</p></code>, which is
243
+ at the start of a line .</p>
245
244
"""
246
245
)
247
246
)
You can’t perform that action at this time.
0 commit comments