Обсуждение: U+200B ZERO WIDTH SPACE (0xe2 0x80 0x8b) in PostgreSQL documentation

Поиск
Список
Период
Сортировка

U+200B ZERO WIDTH SPACE (0xe2 0x80 0x8b) in PostgreSQL documentation

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/infoschema-administrable-role-authorizations.html
Description:

In official html documentation there are issue U+200B ZERO WIDTH SPACE (0xe2
0x80 0x8b) in  text of some keywords, some identificators and some literals.
When copy-pasting to the SQL command, an error occurs because of this.
For example in page infoschema-administrable-role-authorizations.html on
site
(https://www.postgresql.org/account/comments/new/15/infoschema-administrable-role-authorizations.html/)
and in linux doc
{/usr/share/doc/postgresql-doc-13/html/infoschema-administrable-role-authorizations.html}.
See below excerpt text from the abovementioned page contains:
administrable_role_<200b>authorizations
----------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"
content="text/html; charset=UTF-8"
/><title>36.4. administrable_role_<200b>authorizations</title><link
rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made"
href="pgsql-docs@lists.postgresql.org" /><meta name="generator"
content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev"
href="infoschema-information-schema-catalog-name.html"
title="36.3. information_schema_catalog_name" /><link rel="next"
href="infoschema-applicable-roles.html" title="36.5. applicable_roles"
/></head><body id="docContent" class="container-fluid col-10"><div
xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table
width="100%" summary="Navigation header"><tr><th colspan="5"
align="center">36.4. <code xmlns="http://www.w3.org/1999/xhtml"
class="literal">administrable_role_<200b>authorizations</code></th></tr><tr><td
width="10%" align="left"><a accesskey="p"
href="infoschema-information-schema-catalog-name.html"
title="36.3. information_schema_catalog_name">Prev</a> </td><td width="10%"
align="left"><a accesskey="u" href="information-schema.html"
title="Chapter 36. The Information Schema">Up</a></td><th width="60%"
align="center">Chapter 36. The Information Schema</th><td width="10%"
align="right"><a accesskey="h" href="index.html" title="PostgreSQL 13.11
Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n"
href="infoschema-applicable-roles.html"
title="36.5. applicable_roles">Next</a></td></tr></table><hr></hr></div><div
class="sect1" id="INFOSCHEMA-ADMINISTRABLE-ROLE-AUTHORIZATIONS"><div
class="titlepage"><div><div><h2 class="title" style="clear:
both">36.4. <code
class="literal">administrable_role_<200b>authorizations</code></h2></div></div></div><p>
   The view <code class="literal">administrable_role_authorizations</code>
   identifies all roles that the current user has the admin option
   for.

Re: U+200B ZERO WIDTH SPACE (0xe2 0x80 0x8b) in PostgreSQL documentation

От
Tom Lane
Дата:
PG Doc comments form <noreply@postgresql.org> writes:
> In official html documentation there are issue U+200B ZERO WIDTH SPACE (0xe2
> 0x80 0x8b) in  text of some keywords, some identificators and some literals.
> When copy-pasting to the SQL command, an error occurs because of this.
> For example in page infoschema-administrable-role-authorizations.html on
> site
> (https://www.postgresql.org/account/comments/new/15/infoschema-administrable-role-authorizations.html/)

Yeah.  Those are there to allow line breaks in the PDF output, which
would otherwise be too wide in those places.  If you know a way to get
the XML toolchain to allow line breaks in PDF without putting
invisible characters into other formats, let us know.

            regards, tom lane