diff --git a/src/z3c/rml/list.py b/src/z3c/rml/list.py index 5549181..0f5164f 100644 --- a/src/z3c/rml/list.py +++ b/src/z3c/rml/list.py @@ -81,10 +81,13 @@ class OrderedListItem(ListItem): class IUnorderedListItem(IListItem): """An ordered list item.""" - value = attr.Choice( + value = attr.Combination( title='Bullet Value', description='The type of bullet character.', - choices=interfaces.UNORDERED_BULLET_VALUES, + value_types=( + attr.Choice(choices=interfaces.UNORDERED_BULLET_VALUES), + attr.Text(max_length=1) + ), required=False) diff --git a/src/z3c/rml/tests/input/rml-examples-046-lists.rml b/src/z3c/rml/tests/input/rml-examples-046-lists.rml index 050d2ff..97378a0 100644 --- a/src/z3c/rml/tests/input/rml-examples-046-lists.rml +++ b/src/z3c/rml/tests/input/rml-examples-046-lists.rml @@ -155,6 +155,10 @@ symbol.
  • para 1
  • para 2another paragraph
  • para 3
  • +
  • Disc
  • +
  • Right arrow head
  • +
  • Bullet, defined by unicode code point
  • +