[www-doc] [Git][VideoLAN.org/websites][master] fix quotes
Christoph Miebach
gitlab at videolan.org
Mon Jan 16 19:39:25 CET 2017
Christoph Miebach pushed to branch master at VideoLAN organization / websites
Commits:
e82b5ac5 by Christoph Miebach at 2017-01-16T13:38:07-05:00
fix quotes
- - - - -
1 changed file:
- www.videolan.org/index.php
Changes:
=====================================
www.videolan.org/index.php
=====================================
--- a/www.videolan.org/index.php
+++ b/www.videolan.org/index.php
@@ -229,7 +229,7 @@ include($_SERVER["DOCUMENT_ROOT"] . "/include/magpierss/rss_fetch.inc");
$columns = 1;
foreach ($rss->items as $item) {
if (isset($item['link'])) {
- echo "<p dir='ltr' style='text-align:left;'>";
+ echo '<p dir="ltr" style="text-align:left;">';
echo "<b><a href=\"" . $item['link'] . '" style="color: black;">' . htmlentities($item['title'], ENT_COMPAT, "UTF-8") . "</a></b></p>";
echo '<p dir="ltr" style="border-bottom: 1px dashed #CCC;padding-bottom:5px;margin-bottom:5px; text-align:left;">';
echo substr(strip_tags(html_entity_decode($item['content']['encoded'], ENT_COMPAT, "UTF-8")), 0, $chars_per_entry);
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/e82b5ac578b6294c72767ab8b801e2660fda3c88
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20170116/2cd61a47/attachment.html>
More information about the www-doc
mailing list