Skip to content

Commit

Permalink
update Numbas runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
christianp committed Mar 31, 2022
1 parent 00f4b64 commit be4ec21
Show file tree
Hide file tree
Showing 2 changed files with 189 additions and 75 deletions.
2 changes: 1 addition & 1 deletion docs/jme-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ Number operations
* :data:`decimal` → :data:`html`

**Example**:
* ``scientificnumberhtml(123)`` → ``html("<span>1.23 × 10<sup>2</sup></span>")``
* ``scientificnumberhtml(123)`` → ``html(safe("<span>1.23 × 10<sup>2</sup></span>"))``

.. jme:function:: cleannumber(str, styles)
:keywords: strip, trim, validate, number
Expand Down
Loading

0 comments on commit be4ec21

Please sign in to comment.