started to overhaul MardownEditor.svelte
This commit is contained in:
@@ -188,6 +188,7 @@ public final class Position implements Mappable {
|
||||
}
|
||||
|
||||
public Map<String, Object> renderToMap() {
|
||||
var descr = Map.of(SOURCE,description,RENDERED,markdown(description));
|
||||
var map = new HashMap<String, Object>();
|
||||
map.put(FIELD_DOCUMENT_ID, docId);
|
||||
map.put(NUMBER, num);
|
||||
@@ -195,7 +196,7 @@ public final class Position implements Mappable {
|
||||
map.put(FIELD_AMOUNT, amount);
|
||||
map.put(FIELD_UNIT, unit);
|
||||
map.put(TITLE, title);
|
||||
map.put(DESCRIPTION, markdown(description));
|
||||
map.put(DESCRIPTION, descr);
|
||||
map.put(FIELD_UNIT_PRICE, unitPrice);
|
||||
map.put(FIELD_TAX, tax);
|
||||
map.put(FIELD_TIME_ID, timeId);
|
||||
|
||||
Reference in New Issue
Block a user