convert_html.php,v 1.18だとこんな感じ? --
convert_html.php
@@ -489,18 +489,21 @@
parent::Element();
$this->style = $matches = array();
- while (preg_match('/^(?:(LEFT|CENTER|RIGHT)|(BG)?COLOR\(([#\w]+)\)|SIZE\((\d+)\)):(.*)$/',
+ while (preg_match('/^(?:(LEFT|CENTER|RIGHT)|(BG)?COLOR\(([#\w]+)\)|SIZE\((\d+)\)|(NOWRAP)):(.*)$/',
$text, $matches)) {
if ($matches[1]) {
$this->style['align'] = 'text-align:' . strtolower($matches[1]) . ';';
- $text = $matches[5];
+ $text = $matches[6];
} else if ($matches[3]) {
$name = $matches[2] ? 'background-color' : 'color';
$this->style[$name] = $name . ':' . htmlspecialchars($matches[3]) . ';';
- $text = $matches[5];
+ $text = $matches[6];
} else if ($matches[4]) {
$this->style['size'] = 'font-size:' . htmlspecialchars($matches[4]) . 'px;';
- $text = $matches[5];
+ $text = $matches[6];
+ } else if ($matches[5]) {
+ $this->style['white-space'] = 'white-space:nowrap;';
+ $text = $matches[6];
}
}
if ($is_template && is_numeric($text))