게시물/댓글 경계 밖으로 테이블이 렌더링됩니다

배경

이 문제는 다음 곳에서 처음 발견되었습니다:

…그래서 내용이 이렇습니다.

그러나 마크다운 표 안에 HTML5를 임베드하는 이 방법은 일반적입니다: [1]

https://stackoverflow.com/a/60502719/9731176

재현 가능한 예시

<p>여러분에게 생각할 거리를 제공해 드릴게요!</p>
<table>
<thead>
<tr>
<th></th>
<th>제 것</th>
<th>제 형(누나)의 것</th>
</tr>
</thead>
<tbody>
<tr>
<th><code>kinfo</code></th>
<td>

~~~YAML
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 32 GiB of RAM (30.4 GiB usable)
Graphics Processor 1: AMD Radeon RX 5700
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: ASRock
Product Name: X670E Taichi
~~~

</td>
<td>

~~~YAML
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 32 GiB of RAM (30.4 GiB usable)
Graphics Processor 1: AMD Radeon RX 7900 XTX
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: ASRock
Product Name: X670E Taichi
~~~

</td>
</tr>
<tr>
<th><code>sudo tree /boot/efi</code></th>
<td>

~~~tree
/boot/efi
├── EFI
│   ├── BOOT
│   │   ├── BOOTIA32.EFI
│   │   ├── BOOTX64.EFI
│   │   ├── fbia32.efi
│   │   └── fbx64.efi
│   └── fedora
│       ├── BOOTIA32.CSV
│       ├── BOOTX64.CSV
│       ├── gcdia32.efi
│       ├── gcdx64.efi
│       ├── grub.cfg
│       ├── grubia32.efi
│       ├── grubx64.efi
│       ├── mmia32.efi
│       ├── mmx64.efi
│       ├── shim.efi
│       ├── shimia32.efi
│       └── shimx64.efi
├── mach_kernel
├── System
│   └── Library
│       └── CoreServices
│           └── SystemVersion.plist
└── System Volume Information

8 directories, 18 files
~~~

</td>
<td>

~~~tree
/boot/efi
├── EFI
│   ├── BOOT
│   │   ├── BOOTIA32.EFI
│   │   ├── BOOTX64.EFI
│   │   ├── fbia32.efi
│   │   └── fbx64.efi
│   └── fedora
│       ├── BOOTIA32.CSV
│       ├── BOOTX64.CSV
│       ├── gcdia32.efi
│       ├── gcdx64.efi
│       ├── grub.cfg
│       ├── grubia32.efi
│       ├── grubx64.efi
│       ├── mmia32.efi
│       ├── mmx64.efi
│       ├── shim.efi
│       ├── shimia32.efi
│       └── shimx64.efi
├── mach_kernel
├── System
│   └── Library
│       └── CoreServices
│           └── SystemVersion.plist
└── System Volume Information

8 directories, 18 files
~~~

</td>
</tr>
<tr>
<th><code>cat /etc/default/grub</code></th>
<td>

~~~sh
cat /etc/default/grub
GRUB_TIMEOUT="15"
  # Original: GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
  # Original: Identical
GRUB_DEFAULT="saved"
  # Original: Identical
GRUB_DISABLE_SUBMENU="true"
  # Original: Unknown
GRUB_TERMINAL_OUTPUT="gfxterm"
  # Original: GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX=""
  # Original: GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_DISABLE_RECOVERY="false"
  # Original: GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG="true"
  # Original: Unknown
  # Reason: https://discussion.fedoraproject.org/t/missing-boot-entries-with-grub-enable-blscfg-true/70805/3
GRUB_GFXMODE="2560x1440,auto"
  # Original: None
GRUB_DISABLE_OS_PROBER="true"
  # Original: None
  # Reason: https://github.com/MaddieM4/os-prober/issues/5#issue-777438588
~~~

</td>
<td>

~~~sh
GRUB_TIMEOUT=25
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_RECOVERY="false"
GRUB_ENABLE_BLSCFG=true
GRUB_GFXMODE=2560x1440,auto
~~~

</td>
</tr>
<tr>
<th><code>sudo fdisk -l /dev/nvme2n1</code></th>
<td>

~~~YAML
Disk /dev/nvme2n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: addlink M.2 PCIE G4x4 NVMe              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BDA1D2E0-E95A-4EB7-9502-BE9E43D64E3D

Device         Start        End    Sectors  Size Type
/dev/nvme2n1p1  2048 3907022847 3907020800  1.8T Linux filesystem
~~~

</td>
<td>

~~~YAML
Disk /dev/nvme2n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: addlink M.2 PCIE G4x4 NVMe              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 95F62691-D093-4072-8970-7D9108C0A5EE

Device              Start        End    Sectors  Size Type
/dev/nvme2n1p1       2048     206847     204800  100M EFI System
/dev/nvme2n1p2     206848     239615      32768   16M Microsoft reserved
/dev/nvme2n1p3     239616 3905492991 3905253376  1.8T Microsoft basic data
/dev/nvme2n1p4 3905492992 3907026943    1533952  749M Windows recovery environment
~~~

</td>
</tr>
<tr>
<th><code>sudo grub2-emu</code></th>
<td>

https://youtu.be/8JQsz23y2nA

<p>적어도 여러분은 제 환경에서는 나타나지 않는다는 걸 알게 되셨을 거예요. 브라우저 히스토리에 2025년 1월에 이 문제에 대해 검색한 기록이 있어서, <code>grub2-emu</code>가 작동한 적이 없다고 생각해요.</p>

</td>
<td>

![image|689x310](upload://krAW4TMsuOY98vWqIIs9Jhont9y.png)

"Windows Boot Manager"가 보이나요?!

</td>
</tr>
</tbody>
</table>

…다음과 같이 렌더링됩니다:

여기서 그렇게 되는지 확인하기 위해:

여러분에게 생각할 거리를 제공해 드릴게요!

제 것 제 형(누나)의 것
kinfo
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 32 GiB of RAM (30.4 GiB usable)
Graphics Processor 1: AMD Radeon RX 5700
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: ASRock
Product Name: X670E Taichi
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 32 GiB of RAM (30.4 GiB usable)
Graphics Processor 1: AMD Radeon RX 7900 XTX
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: ASRock
Product Name: X670E Taichi
sudo tree /boot/efi
/boot/efi
├── EFI
│   ├── BOOT
│   │   ├── BOOTIA32.EFI
│   │   ├── BOOTX64.EFI
│   │   ├── fbia32.efi
│   │   └── fbx64.efi
│   └── fedora
│       ├── BOOTIA32.CSV
│       ├── BOOTX64.CSV
│       ├── gcdia32.efi
│       ├── gcdx64.efi
│       ├── grub.cfg
│       ├── grubia32.efi
│       ├── grubx64.efi
│       ├── mmia32.efi
│       ├── mmx64.efi
│       ├── shim.efi
│       ├── shimia32.efi
│       └── shimx64.efi
├── mach_kernel
├── System
│   └── Library
│       └── CoreServices
│           └── SystemVersion.plist
└── System Volume Information

8 directories, 18 files
/boot/efi
├── EFI
│   ├── BOOT
│   │   ├── BOOTIA32.EFI
│   │   ├── BOOTX64.EFI
│   │   ├── fbia32.efi
│   │   └── fbx64.efi
│   └── fedora
│       ├── BOOTIA32.CSV
│       ├── BOOTX64.CSV
│       ├── gcdia32.efi
│       ├── gcdx64.efi
│       ├── grub.cfg
│       ├── grubia32.efi
│       ├── grubx64.efi
│       ├── mmia32.efi
│       ├── mmx64.efi
│       ├── shim.efi
│       ├── shimia32.efi
│       └── shimx64.efi
├── mach_kernel
├── System
│   └── Library
│       └── CoreServices
│           └── SystemVersion.plist
└── System Volume Information

8 directories, 18 files
cat /etc/default/grub
cat /etc/default/grub
GRUB_TIMEOUT="15"
  # Original: GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
  # Original: Identical
GRUB_DEFAULT="saved"
  # Original: Identical
GRUB_DISABLE_SUBMENU="true"
  # Original: Unknown
GRUB_TERMINAL_OUTPUT="gfxterm"
  # Original: GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX=""
  # Original: GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_DISABLE_RECOVERY="false"
  # Original: GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG="true"
  # Original: Unknown
  # Reason: https://discussion.fedoraproject.org/t/missing-boot-entries-with-grub-enable-blscfg-true/70805/3
GRUB_GFXMODE="2560x1440,auto"
  # Original: None
GRUB_DISABLE_OS_PROBER="true"
  # Original: None
  # Reason: https://github.com/MaddieM4/os-prober/issues/5#issue-777438588
GRUB_TIMEOUT=25
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_RECOVERY="false"
GRUB_ENABLE_BLSCFG=true
GRUB_GFXMODE=2560x1440,auto
sudo fdisk -l /dev/nvme2n1
Disk /dev/nvme2n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: addlink M.2 PCIE G4x4 NVMe              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BDA1D2E0-E95A-4EB7-9502-BE9E43D64E3D

Device         Start        End    Sectors  Size Type
/dev/nvme2n1p1  2048 3907022847 3907020800  1.8T Linux filesystem
Disk /dev/nvme2n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: addlink M.2 PCIE G4x4 NVMe              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 95F62691-D093-4072-8970-7D9108C0A5EE

Device              Start        End    Sectors  Size Type
/dev/nvme2n1p1       2048     206847     204800  100M EFI System
/dev/nvme2n1p2     206848     239615      32768   16M Microsoft reserved
/dev/nvme2n1p3     239616 3905492991 3905253376  1.8T Microsoft basic data
/dev/nvme2n1p4 3905492992 3907026943    1533952  749M Windows recovery environment
sudo grub2-emu

적어도 여러분은 제 환경에서는 나타나지 않는다는 걸 알게 되셨을 거예요. 브라우저 히스토리에 2025년 1월에 이 문제에 대해 검색한 기록이 있어서, grub2-emu가 작동한 적이 없다고 생각해요.

"Windows Boot Manager"가 보이나요?!


  1. stackoverflow.com/revisions/60502719/3 ↩︎

이슈가 타당해 보이지만, #contribute:ux에 더 잘 맞는 것 같아서 해당 카테고리로 옮깁니다.

2개의 좋아요

아, 그 옛날 테이블 동작 관련 소동(행동)이 그립군.

여기서 수정을 추가했습니다.

여전히 우아하지는 않지만, 이보다 더 바람직한 결과를 달성할 수 있다고 생각하지는 않습니다(틀렸다고 입증해 주셔도 좋습니다). 적어도 이제 모든 콘텐츠에 접근할 수 있게 되었습니다.

2개의 좋아요

이 주제는 5일 후 자동으로 닫혔습니다. 더 이상 새로운 답변을 남길 수 없습니다.