Remove dir=auto from <li> #1

Closed
ahangarha wants to merge 1 commit from ahangarha/pulldown-cmark:ahangarha-patch-1 into bidi-plume

View file

@ -232,13 +232,6 @@ where
self.write("\n<ul dir=\"auto\">\n")
}
}
Tag::Item => {
if self.end_newline {
self.write("<li dir=\"auto\">")
} else {
self.write("\n<li dir=\"auto\">")
}
}
Review

Don't remove the whole block as it would transform lists to plain text. Just remove dir=\"auto\" from both calls to write

Don't remove the whole block as it would transform lists to plain text. Just remove ` dir=\"auto\"` from both calls to write
Review

I didn't intended to remove whole block. Frankly I don't know how this has taken place. Feel free to make the appropriate modification.

Thanks for checking the detail.

I didn't intended to remove whole block. Frankly I don't know how this has taken place. Feel free to make the appropriate modification. Thanks for checking the detail.
Tag::Emphasis => self.write("<em>"),
Tag::Strong => self.write("<strong>"),
Tag::Strikethrough => self.write("<del>"),