git.s-ol.nu mmm / c186f91
small fixes s-ol 3 years ago
4 changed file(s) with 10 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
173173 path_facet or= path
174174 path, facet = path_facet\match '(.*)/([^/]*)'
175175
176 facet = if facet == '' and type == '' and method ~= 'GET' and method ~= 'HEAD'
176 facet = if facet == '' and (not type or type == '') and method ~= 'GET' and method ~= 'HEAD'
177177 nil
178178 else
179179 type or= 'text/html+interactive'
7777 mode = @from\match @convert.inp
7878 Editor value, mode, fileder, key
7979 }
80 {
81 inp: 'URL.*'
82 out: 'mmm/dom'
83 cost: 0
84 transform: (value, fileder, key) =>
85 Editor value, nil, fileder, key
86 }
8087 }
8188 }
6868
6969 .markdown > ul {
7070 margin-block-end: 1em;
71 text-align: none;
7172 }
7273
7374 .embed {
2828 b, strong { font-weight: bold; }
2929 em, i { font-style: italic; }
3030 hr { clear: both; }
31 ul { margin: 0; }
31 ul { margin: 0; padding-inline-start: 2em; }
3232
3333 sup, sub {
3434 vertical-align: baseline;