1
0
mirror of synced 2024-11-26 06:46:04 +03:00

Fix code highlighting

This commit is contained in:
alexweissman 2017-08-31 18:34:19 -04:00
parent 96f5f724d9
commit 787d20ef0c

View File

@ -47,7 +47,7 @@
Select2 will convert the <code>&lt;option&gt;</code> tag into a data object based on the following rules. Select2 will convert the <code>&lt;option&gt;</code> tag into a data object based on the following rules.
</p> </p>
{% highlight js linenos %} {% highlight txt linenos %}
{ {
"id": "value attribute" || "option text", "id": "value attribute" || "option text",
"text": "label attribute" || "option text", "text": "label attribute" || "option text",
@ -59,7 +59,7 @@
And <code>&lt;optgroup&gt;</code> tags will be converted into data objects using the following rules And <code>&lt;optgroup&gt;</code> tags will be converted into data objects using the following rules
</p> </p>
{% highlight js linenos %} {% highlight txt linenos %}
{ {
"text": "label attribute", "text": "label attribute",
"children": [ option data object, ... ], "children": [ option data object, ... ],