[TYPO3-RTE] automatic link detection
Michael Stucki
michael at typo3.org
Thu Jan 19 12:04:42 CET 2006
Hi Stanislas,
>> Email addresses are often written as "Michael Stucki <michael at typo3.org>"
>>
>> Now if you paste this into rtehtmlarea, you will see that the link is
>> highlighted wrong (the closing ">" is underlined as part of the link).
>>
>> However, in the plain text view, it seems to be correct:
>> Michael Stucki <<LINK michael at typo3.org>michael at typo3.org></LINK>
>>
>> But then again, it is rendered wrong in the TYPO3 frontend. (This is
>> definitely not a bug of rtehtmlarea.)
>>
>> If you can fix this in the RTE view, I'm going to have a look at the
>> frontend rendering part... :-)
>>
> Fixed in the RTE view in CVS and TER.
Works, thanks! Fortunately I see now that this fix doesn't need any further
changes in class.tslib_content.php :-)
However, two comments:
- It only detects email addresses. The text "My website <www.google.ch>"
does not work.
- Additionally I think that also "()" and "[]" should be respected here.
Regards, michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-project-rte
mailing list