GNOME Bugzilla – Bug 602334
Man parser problem with quoted arguments
Last modified: 2010-12-20 16:31:55 UTC
Created attachment 148069 [details] scrambled fonts When opening any man page from the adduser package, the man pages do not display correctly, because of the .BR man macro argument handling. The parser assumes, that when no closing " appears in case of quoted arguments, the " character should appear in the argument. In terminal man if the closing " does not appear, the argument ends at line end. This should work like this in yelp too, shouldn't it? Man source for the screenshot: If .BR adduser " is called with the " \-\-group " option and without the .BR \-\-system " option, or " addgroup " is called respectively, a user group will be added. See screenshot.
Created attachment 148568 [details] [review] Patch for the alternating styles Patch to fix argument parsing in case of arguments without a closing double-quote. These arguments are handled as arguments ended by EOL, as in man.
Fixed by Rupert's gutting of the man-parsing code.