Browse Source

Fix code highlighting

alexweissman 7 years ago
parent
commit
787d20ef0c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/_includes/options/data/select.html

+ 2 - 2
docs/_includes/options/data/select.html

@@ -47,7 +47,7 @@
     Select2 will convert the <code>&lt;option&gt;</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>&lt;optgroup&gt;</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, ... ],