SF.net SVN: phpwiki:[10909] trunk/lib/HtmlParser.php
vargenau--- via phpwiki-checkins <[email protected]> Wed, 19 Jan 2022 14:40:36 +0000
| Newsgroups | gmane.comp.web.wiki.phpwiki.checkins |
|---|---|
| Message-ID | <[email protected]> |
Revision: 10909
http://sourceforge.net/p/phpwiki/code/10909
Author: vargenau
Date: 2022-01-19 14:40:36 +0000 (Wed, 19 Jan 2022)
Log Message:
-----------
lib/HtmlParser.php: oups, wrong semi-colon
Modified Paths:
--------------
trunk/lib/HtmlParser.php
Modified: trunk/lib/HtmlParser.php
===================================================================
--- trunk/lib/HtmlParser.php 2022-01-18 17:01:26 UTC (rev 10908)
+++ trunk/lib/HtmlParser.php 2022-01-19 14:40:36 UTC (rev 10909)
@@ -426,8 +426,8 @@
// then we'll add it to the [Image] syntax
if (!$alignment and preg_match("/float\:\s*(right|left)/i", $css_style, $m))
$alignment = $m[1];
- if (!$alignment and preg_match("/float(right|left)/i", $css_class, $m)) ;
- $alignment = $m[1];
+ if (!$alignment and preg_match("/float(right|left)/i", $css_class, $m))
+ $alignment = $m[1];
if ($alignment) {
$attrs[] = "class=align-$alignment";
$this->log(" Image is contained within a DIV that specifies $alignment alignment");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.