Fixed wrong quotes in font tags
authorMarcel Werk <burntime@woltlab.com>
Thu, 23 Jan 2020 12:13:14 +0000 (13:13 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 23 Jan 2020 12:13:14 +0000 (13:13 +0100)
files/lib/system/exporter/MyBB16xExporter.class.php

index 56be9beeeee94c25c103a3cd49594910f8332284..144808fc1b24f126a9f81c6237fb245beb007169 100644 (file)
@@ -1335,7 +1335,7 @@ class MyBB16xExporter extends AbstractExporter {
 
                        $fontRegex = new Regex('\[font=([^\]]+)\]');
                        $fontCallback = function ($matches) {
-                               return '[font="'.str_replace(['"', "'"], '', $matches[1]).'"]';
+                               return '[font=\''.str_replace(['"', "'"], '', $matches[1]).'\']';
                        };
                }