New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Html2 md #401
Html2 md #401
Conversation
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
…nested Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
…, etc Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
…es not improperly get converted ! links should have htmlcharacters decoded for text output Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
! check for null object before trying to get the attributes ! add rendering of center tag as a block element Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
We could remove markdownify I guess, I left it alone for testing needs eventually, not sure |
How does this get used? |
It's currently used by post-to-email, https://github.com/elkarte/Elkarte/blob/master/sources/subs/Emailpost.subs.php#L982 |
Yes its either this or that, or another is someone wants to take a crack at it 😃 ... markdownify has not been worked on in some time, does more than we really need, and is lgpl which had me wondering about changing it and implications etc ... So thats why I initially did this class as and experiment to replace, plus I did not think it would be to complicated ... well the basic things are not but things do get a bit muddy for some tags at least doing it as a dom traversal that I went with. |
Add html->markdown library.