inherit
237129
0
Sept 13, 2016 9:41:07 GMT -8
chickensandwich
1
September 2016
chickensandwich
|
Post by chickensandwich on Sept 13, 2016 9:41:07 GMT -8
I have searched both the plugin library and the forum here but have not found anything so I come here to ask.
Is there a plugin (or moderation options) that I am missing that strips the default HTML from links included in posts? By default ProBoards seems to make a link clickable as long as the "www" and/or "http" is included in the URL, otherwise the URL will not be clickable.
I would like to make all links, even when the URL includes "www" and/or "http" NOT clickable from posts - (ie, strip the HTML parsing that's happening here).
Any help is much appreciated!
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Sept 14, 2016 9:48:57 GMT -8
I don't think there's any way to differentiate them from links that were manually formatted that way after the post has been submitted. Your best bet would be to request a plugin that adds either noubbc or noparse tags around any URLs in your post not surrounded by BBCode prior to submission as that will render them as plain text, like so:
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 27, 2016 14:51:51 GMT -8
Brian It appears that links posted through the wysiwyg interface double up with the first being ::empty but sharing the exact same href with a second link that immediately follows it. I'm seeing this in both Chrome and Firefox but not on links that have been automatically converted. This could be a way to distinguish between a truly posted link and one that was converted but I am apprehensive on depending on something that is either a bug (Proboards or viglink?) or some kind of patch to counteract a bug since in both cases the situation could be temporary. Two posted links, first using bbcode button resulting in an empty link followed by a proper link and the second as a result of just pasting the full url support.proboards.com/thread/599707/strip-html-links-posts?page=1&scrollTo=6832625
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Sept 27, 2016 14:59:04 GMT -8
Chris , that should only happen if you insert a link but its display text is another URL that was automatically linked, resulting in this HTML: Since a link can't exist inside another link the browser is correcting it so that the converted link comes after the actual link tags. I wouldn't personally rely on that case since it's dependent on improper HTML.
|
|