Skip to content

KaTeX kicks in when writing pre-fromatted text #11006

@taikedz

Description

@taikedz

Description:

KaTeX parser tries kicks in when adding pre-formatetd/code snippets

Server Setup Information:

  • Server version: 0.65.1 (commit 8349c36)
  • Operating System: Ubuntu 16.04 server
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: ?
  • Node Version: 8.11.2
  • mongoDB Version: (snap)

Steps to Reproduce:

Write a message with the following contents:

    ```
    .+\[201\].+
    ```

or

    `.+\[201\].+`

Expected behavior:

Display the literal text I put in the code block, KaTeX should not activate inside the code block

Actual behavior:

KaTeX parses the item inside the \[ \] section

image

Relevant logs:

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions