russross / blackfriday

Blackfriday: a markdown processor for Go
Other
5.41k stars 596 forks source link

Documentation needed #682

Open inliquid opened 3 years ago

inliquid commented 3 years ago

I have several questions which IMO important, and at the same time not documented well (or not documented at all):

  1. Does blackfriday allow arbitrary HTML tags? AFAIK the answer is yes, but you only know this from comments on issues or from practice.
  2. Does blackfriday allow ALL possible HTML tags?
  3. If some tags are filtered, which exactly, based on which rules?
  4. Is it possible to configure which HTML tags are allowed to be present, which are not? How?
  5. Is it possible to filter all HTML tags? If yes, how?