Commit Graph

5 Commits

Author SHA1 Message Date
Dan
a790431274 Do string conversion and striping in the Parser 2019-06-30 21:08:50 +02:00
Dan
197cf5506c Only allow either "markdown" or "html" as text style parse mode 2019-06-26 16:36:00 +02:00
Dan
e61bf92627 Add Parser package
Revamped from HTML/Markdown
2019-06-26 16:07:27 +02:00
Dan
be5f0c9529 Parser's client can be None
In that case, check if is None and don't parse user mentions.
This happens only in text content for inline results
2019-06-26 16:06:50 +02:00
Dan
8d852cb47e Implement strict and loose markdown parsing
This is enabled by default:

  - strict: only markdown syntax is parsed
  - loose: both markdown and html syntax are parsed
2019-06-26 16:05:09 +02:00