Looking at that code, I have to wonder the same thing as Dave... having an upstream /fiddle /would look much cleaner IMHO.//
El 17/05/16 a las 00:49, Ütkarsh Tiwari escribió: > > Checkout the web-console.py file for the relevant extraction code. > https://github.com/richaseh/browse-activity/tree/add_image > > Thanks, > Utkarsh > > On May 17, 2016 11:13 AM, "Yash Agarwal" <agrwal.ys...@gmail.com > <mailto:agrwal.ys...@gmail.com>> wrote: > > oh, then I'll need to see Richa's code for this. can you send a > link or just paste the relevant code snippet here > > On Tue, May 17, 2016 at 11:07 AM Ütkarsh Tiwari > <iamutkarshtiw...@gmail.com <mailto:iamutkarshtiw...@gmail.com>> > wrote: > > Hi Yash, > The exactly situation here is that the > prettified html code inside the .html file generated(after > save) can't be properly parsed by the methods(responsible for > extracting js/html/css code from .html file) written by Mr. > Richa Sehgal because the prittfied code contains the escaped > characters which result in unexpected behaviour. > > Thanks, > Utkarsh > > On May 17, 2016 10:59 AM, "Yash Agarwal" > <agrwal.ys...@gmail.com <mailto:agrwal.ys...@gmail.com>> wrote: > > Hi, > 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. > > Cheers, > Yash > > On Tue, May 17, 2016 at 7:31 AM Dave Crossland > <d...@lab6.com <mailto:d...@lab6.com>> wrote: > > Hi > > 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? > > Cheers > Dave > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > <mailto:Sugar-devel@lists.sugarlabs.org> > http://lists.sugarlabs.org/listinfo/sugar-devel > > > > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel