Skip to content

InnerHTML replace mode breaks the search #9

@websolutions-hamburg

Description

@websolutions-hamburg

Hello,
when I use the InnerHTML replace mode, the search from mkdocs material is broken. It no longer opens.

Requirements:

mkdocs                            1.6.1
mkdocs-material                   9.6.5
mkdocs-placeholder-plugin         0.5.0.post1

placeholder.yml

placeholders:
  FIRST_NAME:
    default: John
    replace_everywhere: true

mkdocs.yml

site_name: My site
site_url: https://mydomain.org/mysite
theme:
  name: material

plugins:
  - search
  - placeholder:
      enabled: true
      placeholder_file: placeholder.yml

index.md

# Welcome to MkDocs

iFIRST_NAMEi

When I use iFIRST_NAMEi it's broken.
When I use xFIRST_NAMEx everything is fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions