ideabag2
ideabag2 copied to clipboard
Convert urls in comments to links
I added a method for converting urls in comments to links. It has some flaws. First of all it uses the v-html directive which is vulnerable to XSS attacks. Secondly it splits words by sentences which means it only detects links that have spaces around them on both sides.
@jarikmarwede Great job. Since users are the ones posting the comments, it'd be risky to go with the v-html solution. I'll try to find out if there's an alternative solution we can try.
Thanks, I also forgot to mention that it does not have any styling yet