| Summary: | Filter of "nowiki" to be improved - Export to MediaWiki | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | steven |
| Component: | filters and storage | Assignee: | Julien Nabet <serval2412> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 4.2.0.4 release | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Windows (All) | ||
| See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=75308 | ||
| Whiteboard: | target:4.3.0 target:4.2.2 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
Text with brackets
Text with brackets and linls |
||
Created attachment 93900 [details]
Text with brackets and linls
More complex example, after export to wiki, delete "<nowiki> </nowiki>" in wiki page, display ok.
Steven: I pushed this patch on master: https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=e4a448a9c7ecfbbfeaa78f6e0a268f3f2509065e At least it removes the overkill use of <nowiki>. Now I don't think I'm capable to really fix the nowiki use. On 4.2 sources, here's the gerrit review: https://gerrit.libreoffice.org/8024 Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e4a448a9c7ecfbbfeaa78f6e0a268f3f2509065e Related: fdo#74875 Filter of "nowiki" to be improved - Export to MediaWiki The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Updated, issue of attached test file is resolved, it need to more test. Thanks! Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d5fba1856ff1f939a9ebd523da3aa6578fbc3a25&h=libreoffice-4-2 Related: fdo#74875 Filter of "nowiki" to be improved - Export to MediaWiki It will be available in LibreOffice 4.2.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |
Created attachment 93899 [details] Text with brackets Problem description: "[" in the Writer text, does not affect/related to any MediaWiki syntax, but include with "<nowiki> </nowiki>" Steps to reproduce: 1. single "[" in Writer e.g. The then-effective Judiciary Act provided that the Supreme Court would have jurisdiction “to issue … writs of mandamus … [to] persons holding office under the authority of the United States.” Thus the Act itself explicitly authorized the relief being sought by the plaintiffs. 2. export to MW, display OK <nowiki>The then-effective Judiciary Act provided that the Supreme Court would have jurisdiction “to issue … writs of mandamus … [to] persons holding office under the authority of the United States.” Thus the Act itself explicitly authorized the relief being sought by the plaintiffs.</nowiki> 3. delete "<nowiki> </nowiki>" in wiki page, nothing happen Current behavior: This issue causes I need to remove "<nowiki> </nowiki>" every time, when I want to add MW syntax, e.g. add links, and so on. specially to re-edit to "long pages" , which is very annoying. Expected behavior: filter to be improved