mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Markup
* allow 'auto' as width for tables * db tag 'money' may include currency AND items
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user