I noticed that some of my teasers were not closing HTML tags. This would result in the HTML markup cascading down the page- i.e. every node below would appear in bold as the bold tag was not closed (the teaser break came before the tag was closed)
I tried to edit these teasers to put in the close tags. However, the teaser was then processed so that all markup was converted to escape characters, so that the HTML markup itself appears in the teaser view. Note that the input type is set to "Full HTML."
For example, what should appear as:
Roboticist Hod Lipson wants you to stop shopping and use his portable 3-D printer to make your own stuff
(note that the image tags don't show up here because the drupal.org's filtered html does not allow it, but you get the idea)
appears in the teaser view as:
<img class="left" alt="desktop%20factory.jpg" src="http://www.treehugger.com/desktop%20factory.jpg" width="250" height="314" />
<p>Roboticist Hod Lipson wants you to stop shopping and use his portable 3-D printer to make your own stuff</p>
because the html in the teaser view is converted to the escape characters:
<img class="left" alt="desktop%20factory.jpg" src="http://www.treehugger.com/desktop%20factory.jpg" width="250" height="314" />
<p>Roboticist Hod Lipson wants you to stop shopping and use his portable 3-D printer to make your own stuff</p>
(Let me know if you are having trouble understanding my explanation)
Comments
Comment #1
vito_swat commentedI'm not reporting escaping of the characters after editing teasers (which I'm doing ocasionally) but not closing HTML tags is a drupal core thing. See Superteaser module to solve this problem. In issue list there's 5.0 development version. I didn't tried it so I don't know is it working.
Comment #2
Ashraf Amayreh commentedYou could try out this module. I'm not totally sure it could help or not, but it may.
http://drupal.org/project/htmlcorrector
Comment #3
nirad commentedthe HTML parsing problem may be something wrong with my Drupal installation, not with the Aggregation module. I'll let respond here if I resolve it.
Comment #4
Ashraf Amayreh commentedI'm closing this. Please let me know if you have any updates here.
Comment #5
nirad commentedi used superteaser and it works great. I'm still not sure why the problem with editing a feed item occurs, though i can edit them through the database (via PHPmyAdmin) when I need to, which is now very rarely.
If nobody else has had problems editing a feed item, then I guess you can close it. It's probably something unique to my installation and it's not that important for me to trouble-shoot it.
Comment #6
vito_swat commentedSolution provided here.