Thread: PGDOCS - sgml linkend using single-quotes

PGDOCS - sgml linkend using single-quotes

From
Peter Smith
Date:
Hi,

I happened to notice some examples of SGML linkends that were using
single quotes instead of double quotes.

It didn't seem to be the conventional style because grepping (from
doc/src/sgml folder) showed only a tiny fraction using single quotes.

(single-quotes)
$ grep --include=*.sgml -rn . -e "linkend='" | wc -l
12

(double-quotes)
$ grep --include=*.sgml -rn . -e 'linkend="' | wc -l
5915

~~

PSA patch that makes them all use double quotes.

------
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment

Re: PGDOCS - sgml linkend using single-quotes

From
Heikki Linnakangas
Date:
On 18/01/2023 00:37, Peter Smith wrote:
> I happened to notice some examples of SGML linkends that were using
> single quotes instead of double quotes.
> 
> It didn't seem to be the conventional style because grepping (from
> doc/src/sgml folder) showed only a tiny fraction using single quotes.
> 
> (single-quotes)
> $ grep --include=*.sgml -rn . -e "linkend='" | wc -l
> 12
> 
> (double-quotes)
> $ grep --include=*.sgml -rn . -e 'linkend="' | wc -l
> 5915
> 
> ~~
> 
> PSA patch that makes them all use double quotes.

There were also a few "id" attributes using single-quotes. Fixed those 
too, and pushed. Thanks!

- Heikki




Re: PGDOCS - sgml linkend using single-quotes

From
Peter Smith
Date:
On Mon, Feb 27, 2023 at 7:04 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>
...
>
> There were also a few "id" attributes using single-quotes. Fixed those
> too, and pushed. Thanks!
>

Thankyou for pushing.

------
Kind Regards,
Peter Smith.
Fujitsu Australia