https://bugs.documentfoundation.org/show_bug.cgi?id=94553
--- Comment #4 from Akash Deshpande <fastakash@gmail.com> ---
Hi, I have been looking at this. A quick summary and a question:
1) I removed the changes by cloph (it was mentioned to be a hack and it
introduced more 'unhandled element errors'
2) I added List as an element to be handled inside List (nesting) - all
'unhandled element' errors for gluepoints went away
Inserted the following into List.start_element()
elif name == 'list':
self.parse_child(List(attrs, self, self.isInTable))
3) In the ListItem.get_all() method, added a re.sub to insert '#' for
additional items for the inside list.
Inserted the following: (some more code and comments but just a one line
summary here)
text = re.sub(r'\n\s*#', '\n##', text)
Now, I get an extra '#' for all inside List members (instead of just the first
one, which is the case currently). As far as I can tell, this will fix the
html files.
Questions/comments:
1) To be certain everything looks good, I would like to generate html files
from the wiki files. Can you please tell me how to do this?
2) I still need to thoroughly test everything. I am also doing some traveling
so I will need some more time.
3) There are other run time errors (unhandled element, key errors etc.) by
help-to-wiki.py. The file also has 'FIXME' comments. I will be happy to look
at them.
Thank you!
Akash
--
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Libreoffice-ux-advise] [Bug 94553] WIKIHELP: converter does not support nested lists · bugzilla-daemon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.