|
@@ -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, ... ],
|