Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50069

Template function to strip HTML?

$
0
0
I have a question about templates (I guess with that I am in the correct lace her at "Library Management", right?):

How can I strip HTML tags from a field in a template? I had a look at The calibre template language, but could not find anything for stripping HTML...

Background: The comments field might contain a lot of HTML (crap) which I don't want to see when I show it in a library column.

Viewing all articles
Browse latest Browse all 50069

Latest Images

Trending Articles



Latest Images