Publish HTML quickly. https://html.house
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
190 B

  1. package htmlhouse
  2. func passesPublicFilter(app *app, html string) bool {
  3. if app.cfg.BlacklistTerms == "" {
  4. return true
  5. }
  6. spam := app.cfg.BlacklistReg.MatchString(html)
  7. return !spam
  8. }