View Single Post
Old 02-22-2009, 05:25 AM   #270
howsey
Junior Member
howsey began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2009
Device: Sony Reader
Remove <a> tags in body of article but keep element text

Quote:
Originally Posted by ilovejedd View Post
Try adding:
Code:
def print_version(self, url):
	return url + 'print.html'
Thanks for that. I've now got it working reasonably well. The next issue is that the article contains hyperlinks. The default processing seems to be to replace these with the element text and then include the url in brackets afterwards. Is there a way to stop the url coming out. My initial thought was to try the pre/post processing functions but this appears to filter out way too early.
howsey is offline