add line breaks to video description SE4 video plugin

Started on the old forum in October 2014 · view the original in the archive · old links redirect here

No replies · 56 views · started 12 years ago · 1 min read

GumSlone Administrator Principal · 1,690 posts #1

there are no line breaks in the video description on the show video page, here is a small fix. find:

<?php echo $this->video->description;?>

and replace with:

<?php echo nl2br($this->video->description);?>

Done 🙂

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close