We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab802bc commit bed25feCopy full SHA for bed25fe
client/modules/IDE/components/Editor.jsx
@@ -283,7 +283,7 @@ class Editor extends React.Component {
283
mode = 'javascript';
284
} else if (fileName.match(/.+\.css$/i)) {
285
mode = 'css';
286
- } else if (fileName.match(/.+\.html$/i)) {
+ } else if (fileName.match(/.+\.(html|xml)$/i)) {
287
mode = 'htmlmixed';
288
} else if (fileName.match(/.+\.json$/i)) {
289
mode = 'application/json';
0 commit comments