Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape RST #60

Open
janbrohl opened this issue Jan 21, 2020 · 3 comments
Open

Escape RST #60

janbrohl opened this issue Jan 21, 2020 · 3 comments

Comments

@janbrohl
Copy link
Collaborator

janbrohl commented Jan 21, 2020

Add support for escaping RST for security and intuitive behaviour.

  • Either escape per default - then ideally something equivalent to autoescaping for RST. Propably writing a Jinja extension is required.
  • Or escape on demand via filter.
@janbrohl
Copy link
Collaborator Author

How escaping works depends on context so filtering is the better option.

@janbrohl
Copy link
Collaborator Author

Adding a filter requires modifying an environment so this requires #42 .

@janbrohl janbrohl changed the title Escape ReST Escape RST Jan 21, 2020
@janbrohl
Copy link
Collaborator Author

#61 adds the escaping logic as functions. Filters woulld better looking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant