Dotclear


Ignore:
Timestamp:
06/24/19 13:04:56 (6 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Update Codemirror from 5.38.0 to 5.48.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/codemirror/mode/htmlmixed/htmlmixed.js

    r3617 r3979  
    11// CodeMirror, copyright (c) by Marijn Haverbeke and others 
    2 // Distributed under an MIT license: http://codemirror.net/LICENSE 
     2// Distributed under an MIT license: https://codemirror.net/LICENSE 
    33 
    44(function(mod) { 
     
    106106        }; 
    107107        state.localMode = mode; 
    108         state.localState = CodeMirror.startState(mode, htmlMode.indent(state.htmlState, "")); 
     108        state.localState = CodeMirror.startState(mode, htmlMode.indent(state.htmlState, "", "")); 
    109109      } else if (state.inTag) { 
    110110        state.inTag += stream.current() 
     
    136136      indent: function (state, textAfter, line) { 
    137137        if (!state.localMode || /^\s*<\//.test(textAfter)) 
    138           return htmlMode.indent(state.htmlState, textAfter); 
     138          return htmlMode.indent(state.htmlState, textAfter, line); 
    139139        else if (state.localMode.indent) 
    140140          return state.localMode.indent(state.localState, textAfter, line); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map