Fix code highlighting
This commit is contained in:
parent
96f5f724d9
commit
787d20ef0c
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
|||
Select2 will convert the <code><option></code> tag into a data object based on the following rules.
|
||||
</p>
|
||||
|
||||
{% highlight js linenos %}
|
||||
{% highlight txt linenos %}
|
||||
{
|
||||
"id": "value attribute" || "option text",
|
||||
"text": "label attribute" || "option text",
|
||||
|
@ -59,7 +59,7 @@
|
|||
And <code><optgroup></code> tags will be converted into data objects using the following rules
|
||||
</p>
|
||||
|
||||
{% highlight js linenos %}
|
||||
{% highlight txt linenos %}
|
||||
{
|
||||
"text": "label attribute",
|
||||
"children": [ option data object, ... ],
|
||||
|
|
Loading…
Add table
Reference in a new issue