https://bugs.documentfoundation.org/show_bug.cgi?id=93580
--- Comment #4 from Regina Henschel <[email protected]> --- (In reply to Olivier Hallot from comment #0) > Issue 01: > > Keyword <filename> in <meta> looses initial slash (/) > > < <filename>/text/shared/optionen/01060500.xhp</filename> > > > <filename>text/shared/optionen/01060500.xhp</filename> The problem is in Function SetMetaDataOnSave in module _Main. In string is build in line 57. The variable sDocRoot contains a character '/' as last character. Therefore subtracting sDocRoot removes the character '/' from the variable Path. I'm not sure about the solution: (A) in line 57 in Function SetMetaDataOnSave in module _Main - Path = Right(Path,Len(Path)-Len(sDocRoot)) + Path = Right(Path,Len(Path)-Len(sDocRoot)+1) or save the HelpPrefix without slash. I don't know what further implications that will have and where other parts would have to be adapted then. (B) in line 1057 in Function SetDocumentRoot in module Helpers - sHelpPrefix = oFolderDialog.getDirectory + "/" + sHelpPrefix = oFolderDialog.getDirectory I prefer (A). What do you think? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
