PGDOCS - sgml linkend using single-quotes

Started by Peter Smithalmost 4 years ago3 messageshackers
Jump to latest
#1Peter Smith
smithpb2250@gmail.com

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

Attachments:

v1-0001-Replace-linkend-single-quotes-with-double-quotes.patchapplication/octet-stream; name=v1-0001-Replace-linkend-single-quotes-with-double-quotes.patchDownload+12-13
#2Heikki Linnakangas
hlinnaka@iki.fi
In reply to: Peter Smith (#1)
Re: PGDOCS - sgml linkend using single-quotes

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

#3Peter Smith
smithpb2250@gmail.com
In reply to: Heikki Linnakangas (#2)
Re: PGDOCS - sgml linkend using single-quotes

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