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
Back to the Tickets List
BBCode Inserting <br>'s at the end of <li>'s
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
User-Submitted Comments
These posts are also available on the
forum
with more features. This page is intentional simplified
View this info on the forum
[You must be logged in to post comments]
6200 days ago
Chops
Said:
Thanks for the heads up. I thought I had done that already, but I guess not.
[You must be logged in to reply]
Main
|
Create a Site
|
Features
|
Forum
|
Knowledge Base
|
Contact
|
Privacy Policy
Part of the
DKPSystem.com
Network.