changeset 546:ca0f831afd76

DictColumns: mdl markup of multiple elements in table changed to enumeration
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 17 Feb 2011 08:41:21 +0100
parents 946737f9eb1b
children 983196519144
files data/plugin/macro/DictColumns.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/DictColumns.py	Tue Feb 15 22:56:50 2011 +0100
+++ b/data/plugin/macro/DictColumns.py	Thu Feb 17 08:41:21 2011 +0100
@@ -215,7 +215,7 @@
                 if name in page_dict.keys():
                     value = page_dict.get(name, '')
                     if isinstance(value, list) and len(value) > 1:
-                        value = '<<BR>>'.join(value)
+                        value = ' 1. %s' % '\n 1. '.join(value)
                     elif isinstance(value, list):
                         value = value[0]