We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8d59b4 commit e64b971Copy full SHA for e64b971
types/Decimal.php
@@ -38,7 +38,7 @@ class Decimal extends AbstractMultiBaseType
38
*/
39
public function renderValue($value, \Doku_Renderer $R, $mode)
40
{
41
- if (preg_match("/^%(?:['+-:\.]?\D?\d*\.?\d*)?[bdeEfFu]$/",$this->config['format'])) {
+ if (preg_match("/^%(?:['+-:.]?\D?\d*\.?\d*)?[bdeEfFu]$/",$this->config['format'])) {
42
$R->cdata($this->config['prefix'] . sprintf($this->config['format'],$value) . $this->config['postfix']);
43
return true;
44
}
0 commit comments