Markup
* allow 'auto' as width for tables * db tag 'money' may include currency AND items
This commit is contained in:
parent
2ec4809c7f
commit
dcb8995b1a
2 changed files with 3 additions and 2 deletions
|
|
@ -31,7 +31,8 @@ class Markup
|
|||
$match[1] = 'achievement';
|
||||
else if ($match[1] == 'icondb')
|
||||
$match[1] = 'icon';
|
||||
else if ($match[1] == 'money')
|
||||
|
||||
if ($match[1] == 'money')
|
||||
{
|
||||
if (stripos($match[0], 'items'))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2798,7 +2798,7 @@ var Markup = {
|
|||
border: { req: false, valid: /^[0-9]+$/ },
|
||||
cellspacing: { req: false, valid: /^[0-9]+$/ },
|
||||
cellpadding: { req: false, valid: /^[0-9]+$/ },
|
||||
width: { req: false, valid: /^[0-9]+(px|em|\%)$/ }
|
||||
width: { req: false, valid: /^([0-9]+(px|em|\%)|auto)$/ }
|
||||
},
|
||||
toHtml: function(attr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue