1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Input WYSIWYG: Updated reference link updating for descriptions

This commit is contained in:
Dan Brown
2023-12-18 18:12:36 +00:00
parent 307fae39c4
commit bc354e8b12
4 changed files with 31 additions and 10 deletions

View File

@ -74,7 +74,7 @@ class BaseRepo
$this->referenceStore->updateForEntity($entity);
if ($oldUrl !== $entity->getUrl()) {
$this->referenceUpdater->updateEntityPageReferences($entity, $oldUrl);
$this->referenceUpdater->updateEntityReferences($entity, $oldUrl);
}
}

View File

@ -305,7 +305,7 @@ class PageRepo
$this->revisionRepo->storeNewForPage($page, $summary);
if ($oldUrl !== $page->getUrl()) {
$this->referenceUpdater->updateEntityPageReferences($page, $oldUrl);
$this->referenceUpdater->updateEntityReferences($page, $oldUrl);
}
Activity::add(ActivityType::PAGE_RESTORE, $page);