| Summary: | Doctreeview does not allow ? characters in the kdeveloptoc file format | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Amilcar do Carmo Lucas <a.lucas> |
| Component: | doctreeview | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Amilcar do Carmo Lucas
2004-01-09 21:59:24 UTC
that looks pretty XML to me - then it's & - the ? should be fine though Uppsss Thanks coolo that solved the problem. But the issue with the ? presists. It works fine in languages/haskell/doc/haskell_bugs_ghc.toc but it fails in languages/haskell/doc/python_bugs.toc <!DOCTYPE kdeveloptoc> <kdeveloptoc> <title>Python bugs</title> <base href="http://groups.google.com/"/> <tocsect1 name="Query" url="groups?group=comp.lang.python"> </tocsect1> </kdeveloptoc> how do you create the URL? If you call setPath with the addition, then of course this can't work as the ? will be encoded. Subject: Re: Doctreeview does not allow ? characters in the kdeveloptoc
file format
I've tracked this down to
parts/doctreeview/doctreeviewwidget.cpp:507
QString url = childEl.attribute("url");
and
parts/doctreeview/doctreeviewwidget.cpp:514
item->setFileName(base + url);
yes the url is built with adition. Should I use append instead?
Fixed in new documentation plugin. |