Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 07:54 am EST
Geeklog Forums
What's Related box goes CRAZY!
skia
Anonymous
When I look at some articles on my geeklog, the "What's Related" box goes nuts displaying the random parts of the link URLs and forcing the What's Related box to be much bigger than it should be.
I'm certain all the links within my article are properly formatted, but as this is only happening with some articles, I'm pretty sure some other tag in the article is tripping this up by chance. I'd be happy to go over the code and figure out what regular expression is going wrong, but I can't seem to find where the What's Related box is being generated. Any pointers?
Also, I don't really need the box at all. Is there a way to disable it?
11
13
Quote
skia
Anonymous
It looks like what is happening is that, when I post a story, it's putting <br>s where it wraps for some reason. Here's an example:
This is what I type in:
blah blah blah blah Here is a <a
href="http://www.foo.com/enough/to/wrap">copy</a> of something or another...
and this is what is generated in the What's Related box:
<li><a<br /> href="http://www.foo.com/enough/to/wrap">copy</a>
You can see how this would upset the What's Related box and also how it would be a common occurance for the "href" part of the tag to be long enough to be wrapped. Anyone had anything like this before???
10
11
Quote
All times are EST. The time is now 07:54 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content