This is a Prettier plugin to format JSSP(JavaScript Server Pages) HTML of intra-mart.
-
handle col tags in certain scenarios
imuiListTable/cols/col
, which would cause prettier errorsvoid elements do not have end tags "col"
by default.<imart type="imuiListTable"... <cols> <col name="..."> <callFunction name="..." /> </col> <!-- "void elements do not have end tags" error occurred by default--> <cols>
-
handle the attribute of imart tag, these properties will no longer be automatically quoted by default.
<imart type="imuiTextbox" ... value=$data.value/> <!-- by default will format to bellow, which is not right for jssp--> <imart type="imuiTextbox" ... value="$data.value"/>