4 ms·
This didn't work so well for one of my projects: https://github.com/microcosm-cc/bluemonday https://github.com/microcosm-cc/bluemonday I chose to look at this
by buro9 9y ago
This didn't work so well for one of my projects: https://github.com/microcosm-cc/bluemonday https://github.com/microcosm-cc/bluemonday
I chose to look at this one as the README is quite descriptive and offers examples, and it is reasonably well structured.
It's a Go HTML sanitizer.
The suggested topics included "go" but none of the others I have now tagged it with.
It did include things like "html-element" and "data-uri". I can see how it did this from word prevalence, but these were far too specific to examples and documentation, and did not describe the project.
It feels as if the word counted should be weighted towards the early part of the README, perhaps no farther in than the 3rd heading.
- justinclift 9y agoThanks for bluemonday, we use it in our GFM sanitisation. Certainly saved time on having to write our own from scratch and potentially getting it wrong. :)