Skip to content

Commit da06640

Browse files
aclark4lifeCopilot
andcommitted
docs: fix nested inline markup in E-3 and E-4 headings
RST does not allow inline markup (backticks) nested inside bold markers. Remove backticks from the E-3 and E-4 heading text so they render correctly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d3b73ea commit da06640

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/handbook/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ not rely on mutating internal registries such as ``Image.OPEN`` as a security
191191
control.
192192

193193

194-
**E-3 — ``ImageMath.unsafe_eval()`` code injection**
194+
**E-3 — ImageMath.unsafe_eval() code injection**
195195

196196
:py:meth:`~PIL.ImageMath.unsafe_eval` calls Python's built-in ``eval()`` with
197197
only a minimal ``__builtins__`` restriction, which can be bypassed via
@@ -202,7 +202,7 @@ arbitrary code execution.
202202
``ImageMath.unsafe_eval()``; use :py:meth:`~PIL.ImageMath.lambda_eval` instead,
203203
which accepts a Python callable and never calls ``eval``.
204204

205-
**E-4 — Font path traversal via ``ImageFont``**
205+
**E-4 — Font path traversal via ImageFont**
206206

207207
``ImageFont.truetype(font, size)`` passes the filename to the FreeType C
208208
library. If font paths are constructed from user input without

0 commit comments

Comments
 (0)