Main
Create a Site
Pricing
Forum
Help▼
FAQ
Contact Us
Articles▼
About Our Forums
Planning your Loot System
Building your DKP System
Item Link Guide
In-Game DKP Mod
DKP Profiler Mod
Creating Guides
Layout Guide
Using the Gallery
BBCode Guide
Resources▼
Preview Our Templates!
Features
Free Demo
Guild List
Testimonials
Recent Changes
Logged Out
Create an Account
Login:
Password:
Forgot your password?
To get access, enter your email address or your user name
Cancel
BBCode Inserting <br>'s at the end of <li>'s
BBCode Inserting <br>'s at the end of <li>'s
10 per page
20 per page
30 per page
40 per page
50 per page
75 per page
100 per page
[Back to Index]
Thread Tags
Primary:
[Tickets]
Secondary:
None
System
System
Unignore?
Moderator
Poster's IP:
Logged
Posts: 1006
Threads: 1358
Private Posts: 352
Posted:
6213 days ago
#1
BBCode Inserting <br>'s at the end of <li>'s
Go To This Ticket's Page
Creator
Nevir
Public or Private
Public
Private tickets are only accessible to you and to DKPSystem.com staff
Public Tickets are visible to everyone)
Status
Closed
Type
Bug
Section of the Site
Forum
Urgency
(2 votes)
Rating
(2 votes)
Description:
Your BBCode parser is inserting <br>'s after a </li> with a newline
here's a quick fix that you can stick in before you do a nl2br() call; I'm guessing:
str_replace("</li>\n", "</li>", $post)
Or a bit more correct, but slower:
preg_replace("/<\/li>\s*\n/", "</li>", $post)
Official DKPSystem.com Comments
No official comments yet
This user's posts are being ignored.
[Login to interact]
Chops
Chops
Unignore?
Administrator
Poster's IP:
Logged
Posts: 7607
Threads: 218
Private Posts: 1160
Site(s):
PiaS
Posted:
6212 days ago
#2
Thanks for the heads up. I thought I had done that already, but I guess not.
--
It's all in the reflexes.
This user's posts are being ignored.
[Login to interact]
[Back to Index]
Main
|
Create a Site
|
Features
|
Forum
|
Knowledge Base
|
Contact
|
Privacy Policy
Part of the
DKPSystem.com
Network.