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 e64b971 commit 78c2d3dCopy full SHA for 78c2d3d
types/Decimal.php
@@ -38,8 +38,8 @@ 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'])) {
42
- $R->cdata($this->config['prefix'] . sprintf($this->config['format'],$value) . $this->config['postfix']);
+ if (preg_match("/^%(?:['+-:.]?\D?\d*\.?\d*)?[bdeEfFu]$/", $this->config['format'])) {
+ $R->cdata($this->config['prefix'] . sprintf($this->config['format'], $value) . $this->config['postfix']);
43
return true;
44
}
45
0 commit comments