[Lazarus] problem opening html help pages with spaces in path

Andrea Mauri andrea.mauri.75 at gmail.com
Tue Sep 21 12:20:11 CEST 2010

Il 17/09/2010 18.11, Mattias Gaertner ha scritto:
> Sorry, I thought this was on Linux. I only changed the Linux/Mac part.

In order to avoid problems related to spaces in help path I added a line 
in LazHelpHTML unit, function

function THTMLHelpDatabase.ShowURL(const URL, Title: string; var ErrMsg: 
   ): TShowHelpResult;

I added after this line:
   FullURL:= CombineURL(URLType,URLPath,URLParams);


   FullURL:= '"' + FullURL + '"'

It works but I am not sure it is the best way to do this.

More information about the Lazarus mailing list