mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Plugins: Fixes calling of 'pre_page' event.
This commit is contained in:
committed by
Waylan Limberg
parent
a0e7f17488
commit
a95c35458f
@@ -124,7 +124,7 @@ def _build_page(page, config, site_navigation, env, dirty=False):
|
||||
|
||||
# Run the `pre_page` plugin event
|
||||
page = config['plugins'].run_event(
|
||||
'page_markdown', page, config=config, site_navigation=site_navigation
|
||||
'pre_page', page, config=config, site_navigation=site_navigation
|
||||
)
|
||||
|
||||
page.read_source(config=config)
|
||||
|
||||
Reference in New Issue
Block a user