I’m recording some basic macro to wrap each line with <li> tag, and the macro looks like this:
[
{
"args": null,
"command": "select_all"
},
{
"args": null,
"command": "split_selection_into_lines"
},
{
"args":
{
"name": "Packages/XML/Snippets/long-tag.sublime-snippet"
},
"command": "insert_snippet"
},
{
"args":
{
"characters": "li"
},
"command": "insert"
},
{
"args": null,
"command": "clear_fields"
},
{
"args": null,
"command": "single_selection"
}
]
However this does not work as expected, leaving each line a trailing </p> rather than a </li>.
This only works when I’m not running the split_selection_into_lines command, which is not what I want.
