Skip to content

Commas or periods shouldn’t be placed #5355

Description

@remywu

🔎 Search before asking | 提交之前请先搜索

  • I have searched the MinerU Readme and found no similar bug report.
  • I have searched the MinerU Issues and found no similar bug report.
  • I have searched the MinerU Discussions and found no similar bug report.

🤖 Consult the online AI assistant for assistance | 在线 AI 助手咨询

Description of the bug | 错误描述

When converting a PDF file to a Markdown file, you shouldn’t put a comma or period right before the $ at the end of an inline math expression.

How to reproduce the bug | 如何复现

Error: $P(G\mid ¬U),$

Correct: $P(G\mid ¬U)$,

Operating System Mode | 操作系统类型

No response

Operating System Version| 操作系统版本

windows 11

Python version | Python 版本

No response

Software version | 软件版本 (mineru --version)

No response

Backend name | 解析后端

No response

Device mode | 设备模式

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions