mirror of https://codeberg.org/cage/tinmop/
- removed trim in preformatted text.
This commit is contained in:
parent
f523047e81
commit
d8ea5093f7
|
@ -51,7 +51,6 @@
|
||||||
(list :pre
|
(list :pre
|
||||||
(list (list :alt (coerce (second a) 'string)))))))
|
(list (list :alt (coerce (second a) 'string)))))))
|
||||||
|
|
||||||
|
|
||||||
(defrule link-prefix (and "=>"
|
(defrule link-prefix (and "=>"
|
||||||
(* space))
|
(* space))
|
||||||
(:constant :a))
|
(:constant :a))
|
||||||
|
@ -314,8 +313,7 @@
|
||||||
+quote-line-prefix+
|
+quote-line-prefix+
|
||||||
(text-value node)))
|
(text-value node)))
|
||||||
((html-utils:tag= :pre node)
|
((html-utils:tag= :pre node)
|
||||||
(princ (text-value node)
|
(write-sequence (text-value node :trim nil) stream))
|
||||||
stream))
|
|
||||||
((html-utils:tag= :a node)
|
((html-utils:tag= :a node)
|
||||||
(let ((link-name (text-value node :trim nil))
|
(let ((link-name (text-value node :trim nil))
|
||||||
(link-value (html-utils:attribute-value (html-utils:find-attribute :href
|
(link-value (html-utils:attribute-value (html-utils:find-attribute :href
|
||||||
|
|
Loading…
Reference in New Issue