openqa comments renders URL incorrectly
|Target version:||Milestone 1|
introduced with https://github.com/okurz/openQA/commit/c3fab4de78964494257611ef2e282e384b0280d4
There should be a better regex.
#3 Updated by okurz about 4 years ago
- Subject changed from openqa comments renders URL with subsequent characters incorrectly to openqa comments renders URL incorrectly
- Description updated (diff)
- Assignee set to okurz
- Priority changed from Low to Normal
coolo you have been working on comments. Can you point me to where I could test rendering of the comments? Looks like input of comments can be checked here:
But it seems I can not check the autoreplace of comments there. ideas?
#7 Updated by okurz about 4 years ago
Yeah, resolved. My problem was the call method 'text' on the DOM object which (correctly) put together all text parts which looked like the input to me as the href tags in between were not shown. The test in t/ui/15-comments.t now correctly checks for each individual URL both the text representation as well as the 'a href' part. A bit verbose though.