<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, Yash <br>
<br>
I think this is an example with the problem of carrying on design
discussions on a public forum. The 'save' feature saves an html file
correctly with no <br>
line feeds. This makes looking at the file in a text editor (such as
gedit) difficult. BeautifulSoup is already installed in Sugar (or in
the image) so that it <br>
can be used. This allows for the possibility of saving the file in a
more readible form. This problem does not occur during editing - the
user puts in line feeds <br>
as desired - but these are ignored (treated as spaces) by the
browser.<br>
<br>
Tony<br>
<br>
<div class="moz-cite-prefix">On 05/17/2016 07:28 AM, Yash Agarwal
wrote:<br>
</div>
<blockquote
cite="mid:CACmcDrxWBHMjZBuz7_tUCdhKQ1xq5xBnyX2iHv-pcMtY0vV0Zg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div>It would helpful if you could clarify a little,
Beautifulsoup is full featured HTML parser and prettifying the
.html file is just one of the features. If I understand
correctly you want to prettify the code the user writes in
your editor-- this can be done in real-time(little difficult)
or when the user clicks a button <prettify my
code>(quite simple to implement). If you want to store the
prettified file it shouldn't have a problem-- could clarify
what the exact issue is here<span style="line-height:1.5">. </span></div>
<div><br>
</div>
<div>Cheers,</div>
<div>Yash</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, May 17, 2016 at 7:31 AM Dave Crossland
<<a moz-do-not-send="true" href="mailto:dave@lab6.com">dave@lab6.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">Hi
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Kindly, I'm confused about this js
fiddler activity; why are you putting effort into writing
a fiddle program, instead of merely packaging an existing
libre fiddle program for Sugar? </div>
<div class="gmail_extra"><br>
Cheers</div>
</div>
<div dir="ltr">
<div class="gmail_extra">Dave</div>
</div>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Sugar-devel@lists.sugarlabs.org"
target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sugarlabs.org/listinfo/sugar-devel"
rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>