Regression in reStructuredText (rst) handling #121163
Replies: 6 comments 1 reply
-
I can confirm this regression. GitHub now incorrectly renders a valid literal/code/pre-formatted block of text. Example:
Please revert whatever recent changes were made to rendering reStructuredText. |
Beta Was this translation helpful? Give feedback.
-
Regression persists; please fix. |
Beta Was this translation helpful? Give feedback.
-
Still broken. |
Beta Was this translation helpful? Give feedback.
-
Same bug reported (and unanswered/unaddressed) here: |
Beta Was this translation helpful? Give feedback.
-
I see that a lot of people are having trouble with large files. Mine is only 200 lines, and yet some (but not all) tables are very broken (permalink). They rendered fine before. The following examples are taken from the same file, and are the only tables. Screenshots of the correctly rendered code are taken from CLion's RST previewer. Hopefully this additional information helps! Simple syntax, worksCode========= ========= ==================
What Header Unhosted Fallbacks
========= ========= ==================
bool stdbool.h \*
free stdlib.h N
malloc stdlib.h N
memcmp string.h Y
memcpy string.h Y
memset string.h Y
realloc stdlib.h N
SIZE_MAX stdint.h \*
size_t stddef.h \*
strcmp string.h Y
========= ========= ================== Renders asSimple syntax, brokenThe code====================== ======== ============
Architecture Compiles Passes Tests
====================== ======== ============
AMD64 (x86-64) Y Y
DS390 Y
DS400 Y
ez80-z80 Y
HC08 (Motorola 68HC08) Y
macOS ARM64 Y Y
MCS-51 Y
MOS 6502 Y
MOS 65C02 Y
Padauk PDK 13 Y
Padauk PDK 14 Y
Padauk PDK 15 Y
Rabbit 800 Y
Rabbit 2000 Y
Rabbit 2000A NS
Rabbit 3000A Y
S08 Y
SM83 NS
STM8 Y
TININative Y [#]_
TLCS 90 Y
x86-32 Y Y
z180 Y
z80 Y
z80n NS
====================== ======== ============ Renders asExpected(The full table is longer but my screen isn't big enough to show it all at once.) Complex syntaxThe code+-----------------+----------+-----------------------+-----------------------+
| Compiler | OS | Hosted | Unhosted |
| | +----------+------------+----------+------------+
| | | Compiles | Tests Pass | Compiles | Tests Pass |
+=================+==========+==========+============+==========+============+
| Clang_ | Cygwin | Y | Y | Y | Y |
| +----------+----------+------------+----------+------------+
| | Linux | Y | Y | Y | Y |
| +----------+----------+------------+----------+------------+
| | MacOS | Y | Y | Y | Y |
+-----------------+----------+----------+------------+----------+------------+
| GCC_ | Cygwin | Y | Y | Y | Y |
| +----------+----------+------------+----------+------------+
| | Linux | Y | Y | Y | Y |
| +----------+----------+------------+----------+------------+
| | MacOS | Y | Y | Y | Y |
+-----------------+----------+----------+------------+----------+------------+
| Intel | MacOS | | | | |
| +----------+----------+------------+----------+------------+
| | Linux | | | | |
+-----------------+----------+----------+------------+----------+------------+
| MinGW_ | Cygwin | Y | Y | Y | Y |
| +----------+----------+------------+----------+------------+
| | Linux | Y [#]_ | NS | Y | NS |
+-----------------+----------+----------+------------+----------+------------+
| OpenWatcom | MacOS | | | | |
| +----------+----------+------------+----------+------------+
| | Linux | | | | |
+-----------------+----------+----------+------------+----------+------------+
| SDCC_ | See below for the list of architectures this compiles for|
+-----------------+----------+----------+------------+----------+------------+
| TCC_ | Linux | Y | Y | Y | Y |
+-----------------+----------+----------+------------+----------+------------+
| Visual Studio | Windows | | | | |
+-----------------+----------+----------+------------+----------+------------+ Renders asExpected |
Beta Was this translation helpful? Give feedback.
-
Bug persists. When will GitHub acknowledge the bug? |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Hi,
GitHub cannot display correctly tables in reStructuredText; they was working fine in the past so it is a regession.
Example: https://github.com/ale5000-git/RSTtest/blob/main/README.rst
Best regards,
ale5000
Beta Was this translation helpful? Give feedback.
All reactions