From: Yuri T. <qar...@gm...> - 2007-08-29 14:04:30
|
I am not sure there is a solution. Attributes attach to the parent of the text node with which they are entered, and since the ul element doesn't have any text associated with it there wouldn't be any way to attach an attribute to a ul. You might want to try to wrap your list in a div: <div id=3D"..."> * one * two </div> Another possibility would be to ask on the markdown list what the solution is for other implementations and if they have a good solution it might make sense to change python markdown to do the same. - yuri On 8/29/07, Jan Erik Mostr=F6m <li...@mo...> wrote: > Werner Hartnagel <no...@li...> 07-08-29 12:30 > > >The <p> Tag ist closed before the List instead after, > >i removed the empty newline: > > I can't help you with your problem but > > <p class=3D"xxx"> > <ul> > <li>.... > </ul> > </p> > > is not valid HTML (lists can't be a part of paragraphs) so you > either need to find a way to create the first list you wrote or > perhaps change the CSS definitions (if possible) so no class > info is needed. > > jem > -- > Jan Erik Mostr=F6m, www.mostrom.pp.se > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Python-markdown-discuss mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss > --=20 Yuri Takhteyev Ph.D. Candidate, UC Berkeley School of Information http://takhteyev.org/, http://www.freewisdom.org/ |