yoshuawuyts/html

Escape text input

Open

#12 opened on Apr 11, 2023

View on GitHub
 (5 comments) (0 reactions) (0 assignees)HTML (16 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (254 stars)
PR merge metrics
 (PR metrics pending)

Description

Right now we're not doing any escaping, but we probably should.

Maybe instead of a single text API, we should expose two?

  • text: takes strings and escapes them
  • raw_text: takes strings and doesn't escape them

Thoughts?

Contributor guide