Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
safe text to html
#6
(Jul-05-2017, 04:50 PM)snippsat Wrote: Jinja2 is great.
I'll second jinja. It's exceptionally fast (not the fastest, but fast enough for almost all purposes), has pretty good syntax (but that's subjective, maybe you prefer how Mako looks), and supports inheritance (though any decent templating engine does).

If you need a template, though. If your goal is simply to wrap some text, it's a little bit overkill.
Reply


Messages In This Thread
safe text to html - by Skaperen - Jul-05-2017, 06:02 AM
RE: safe text to html - by nilamo - Jul-05-2017, 02:32 PM
RE: safe text to html - by nilamo - Jul-05-2017, 02:35 PM
RE: safe text to html - by snippsat - Jul-05-2017, 04:50 PM
RE: safe text to html - by wavic - Jul-05-2017, 04:50 PM
RE: safe text to html - by nilamo - Jul-05-2017, 05:08 PM
RE: safe text to html - by Skaperen - Jul-06-2017, 01:12 AM
RE: safe text to html - by Skaperen - Jul-06-2017, 02:48 AM
RE: safe text to html - by snippsat - Jul-06-2017, 06:53 AM
RE: safe text to html - by nilamo - Jul-06-2017, 04:29 PM
RE: safe text to html - by Skaperen - Jul-07-2017, 04:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  make eval() safe Skaperen 5 5,403 Mar-24-2022, 05:47 PM
Last Post: Skaperen
  is this string shell quote safe? Skaperen 2 3,035 Feb-18-2020, 12:56 AM
Last Post: Skaperen
  after py2 EOL, is it safe to repoint python? Skaperen 6 4,849 Sep-14-2019, 10:37 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020