-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(frontend): proper fix for invalid characters
- Loading branch information
1 parent
1ee5504
commit fdee121
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<div class="modal fade" id="[email protected]("=", string.Empty).Replace("/", string.Empty)" tabindex="-1"> | ||
@using System.Web | ||
<div class="modal fade" id="[email protected](MangaId)" tabindex="-1"> | ||
<div class="modal-dialog modal-dialog-centered"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
|
7 changes: 3 additions & 4 deletions
7
src/Mangarr.Frontend/Pages/Manga/Link/ContentSourceItem.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<div class="d-flex flex-column card p-2 me-2 content-source-item"> | ||
@using System.Web | ||
<div class="d-flex flex-column card p-2 me-2 content-source-item"> | ||
<img class="content-source-item-cover" src="@CoverImage" alt="cover" referrerpolicy="no-referrer"> | ||
<p class="text-truncate">@Title</p> | ||
<button class="btn btn-primary" type="button" data-bs-toggle="modal" data-bs-target="#add-manga-modal-@MangaId.Replace("=", string.Empty).Replace("/", string.Empty)">Select</button> | ||
<button class="btn btn-primary" type="button" data-bs-toggle="modal" data-bs-target="#add-manga-modal-@HttpUtility.UrlEncode(MangaId)">Select</button> | ||
</div> | ||
|
||
<AddModal Id="@Id" Identifier="@Identifier" MangaId="@MangaId"/> | ||
|
||
@* href="/manga/@Id/add/@Identifier/@MangaId" *@ |