It's so annoying. All I want is some clean HTML. I searched high and low to find out how to get rid of those anchor tags that are automatically generated by TYPO3 and prepended or appended to data from the tt_content table.

What didn't work was adding the following to my Typoscript template:

tt_content.stdWrap.dataWrap >

That was about the most popular solution floating around in all of the TYPO3 newsgroups. I tried that and cleared the cache (even though saving a template clears the cache automatically). Then I gave the page a hard refresh and the darn anchor was still there.

Luckily I'm kind of smart and I realized that the only way to find out how to get rid of the automatic anchors was to search my typoscript template using the typoscript object browser's built in search feature.

I simply searched for "a id=" and there were two results. I cleared the values for both of them and now I have the following two lines in my typoscript setup:

 

tt_content.stdWrap.innerWrap.cObject.66.10.value >

tt_content.stdWrap.prepend.dataWrap >

Now, my pages don't have those useless anchor tags with the "<a id="c132"" html littering my code.