patorjk / Extendible-BBCode-Parser

Allows you to parse BBCode and to extend the markup to add your own tags. All major tags are supported and parser reports back any errors it finds.
http://patorjk.com/bbcode-previewer/
MIT License
133 stars 54 forks source link

th tag #1

Closed Ruk33 closed 11 years ago

Ruk33 commented 11 years ago
    "th": {
        openTag: function(params,content) {
            return '<td>';
        },
        closeTag: function(params,content) {
            return '</td>';
        },
        restrictParentsTo: ["tr"]
    },

->

    "th": {
        openTag: function(params,content) {
            return '<th>';
        },
        closeTag: function(params,content) {
            return '</th>';
        },
        restrictParentsTo: ["tr"]
    },
patorjk commented 11 years ago

Good catch, thanks! Updated the code.