View Single Post
Old 05-19-2013, 12:06 PM   #1417
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by jessifanfic View Post
My custom text field:
Tags: {tags}
Summary: {comments}

What am I doing wrong? Is there a setting to strip HTML (or translate it)?
Not that I'm aware of. Best I can think of is to use the regex template function:

{comments:re(<[^>]+>, )}

That will replace all html tags with a space.

References:

http://manual.calibre-ebook.com/template_lang.html
http://manual.calibre-ebook.com/regexp.html
JimmXinu is offline