Spaces not rendering when sending a PM

Started by Biology Forums, August 21, 2013, 01:28:51 PM

Previous topic - Next topic

Biology Forums

Don't know where to begin... two issues -

Issue 1

On my SMF 1.1.18 forum, when I send a PM, let's say:

---
sometext: http://mydomain.com
---

It comes out like this:

sometext:http://mydomain.com

It's not respecting the space between the colon (:) and http - with links only

Where should I start to diagnose this issue?

Issue 2

In addition, if the URL doesn't contain my domain in it, it will not parse it into a clickable link, it keeps it as a text.

Please shed some light

Biology Forums

Found the issue, it had to do with the pretty URL mod

in subs-post.php, the mod adds:

// We have to account for rewritten URLs now
// $message = preg_replace('`\s(' . $boardurl . '[^\s<]*)`', '<a href="$1">$1</a>', $message);



Advertisement: