On Mon, Jan 1, 2018 at 1:58 PM, Sergey Bronnikov <este...@gmail.com> wrote:

> $ fossil ticket add title "title" comment "$(cat bugs-example1)" mimetype
> "text/plain"
>
> When I open this ticket in a Web UI it shows as "formatted" and all lines
> are stick together. Content view becomes fine with switch to 'plaintext'
> mode above ticket.
> The question is: why fossil shows me formatted text when I specified it as
> "text/plain"?
>

Running a command through $(...) strips any newlines from the output, which
is likely mangling your comment text.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to