Permalink
Browse files

Do not destroy flat cn elements.

  • Loading branch information...
1 parent c7a5b0b commit cf2cc766b5d018fecfa8d2615f77c04d225955f6 @flaviusb committed Jul 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 constantscript.scala
View
@@ -19,7 +19,7 @@ object constantconverter extends RewriteRule {
case enot(mantissa, _, exponent, _) => {
Elem(pre, n.label, att.append(new UnprefixedAttribute("type", "e-notation", Null)), scope, Text(mantissa) ++ Elem(n.prefix, "sep", null, n.scope) ++ Text(exponent) ++ nod: _*)
}
- case _ => Text("")
+ case _ => n
}
}
case otherwise => otherwise

0 comments on commit cf2cc76

Please sign in to comment.