mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
fixed self closing tag issue
This commit is contained in:
@@ -79,7 +79,8 @@ public static partial class AssignmentSyncronizationExtensions
|
|||||||
|
|
||||||
var localHtmlDescription = localAssignment
|
var localHtmlDescription = localAssignment
|
||||||
.GetDescriptionHtml()
|
.GetDescriptionHtml()
|
||||||
.Replace("<hr />", "<hr>")
|
.Replace("<hr />", "<hr>") // self closing tags are hard
|
||||||
|
.Replace("<br />", "<br>")
|
||||||
.Replace(">", "")
|
.Replace(">", "")
|
||||||
.Replace("<", "")
|
.Replace("<", "")
|
||||||
.Replace(">", "")
|
.Replace(">", "")
|
||||||
@@ -94,6 +95,7 @@ public static partial class AssignmentSyncronizationExtensions
|
|||||||
canvasHtmlDescription = CanvasLinkTagRegex().Replace(canvasHtmlDescription, "");
|
canvasHtmlDescription = CanvasLinkTagRegex().Replace(canvasHtmlDescription, "");
|
||||||
canvasHtmlDescription = canvasHtmlDescription
|
canvasHtmlDescription = canvasHtmlDescription
|
||||||
.Replace("<hr />", "<hr>")
|
.Replace("<hr />", "<hr>")
|
||||||
|
.Replace("<br />", "<br>")
|
||||||
.Replace(">", "")
|
.Replace(">", "")
|
||||||
.Replace("<", "")
|
.Replace("<", "")
|
||||||
.Replace(">", "")
|
.Replace(">", "")
|
||||||
|
|||||||
@@ -47,7 +47,13 @@ public record LocalAssignment
|
|||||||
public DateTime? LockAt { get; init; }
|
public DateTime? LockAt { get; init; }
|
||||||
public DateTime DueAt { get; init; }
|
public DateTime DueAt { get; init; }
|
||||||
public string? LocalAssignmentGroupId { get; init; }
|
public string? LocalAssignmentGroupId { get; init; }
|
||||||
public int PointsPossible { get; init; }
|
public int PointsPossible
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return Rubric.Sum(r => r.IsExtraCredit ? 0 : r.Points);
|
||||||
|
}
|
||||||
|
}
|
||||||
public IEnumerable<string> SubmissionTypes { get; init; } = Array.Empty<string>();
|
public IEnumerable<string> SubmissionTypes { get; init; } = Array.Empty<string>();
|
||||||
|
|
||||||
public string GetRubricHtml()
|
public string GetRubricHtml()
|
||||||
|
|||||||
19
README.md
19
README.md
@@ -17,3 +17,22 @@ Apparently the VSCode razor extension was compiled with a preview of dotnet 6...
|
|||||||
|
|
||||||
The issue can be tracked [here](https://github.com/dotnet/razor/issues/6241)
|
The issue can be tracked [here](https://github.com/dotnet/razor/issues/6241)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
pOpenID Connect is sometimes abbreviated to OIDC. It is not a synonym to Oauth2.0/p
|
||||||
|
pRead and watch the video in this article a href=https://developer.okta.com/blog/2019/10/21/illustrated-guide-to-oauth-and-oidchttps://developer.okta.com/blog/2019/10/21/illustrated-guide-to-oauth-and-oidc/abr
|
||||||
|
Read this article: a href=https://curity.io/resources/learn/openid-connect-overview/https://curity.io/resources/learn/openid-connect-overview//abr
|
||||||
|
Watch this video: a href=https://www.youtube.com/watch?v=rTzlF-U9Y6Yhttps://www.youtube.com/watch?v=rTzlF-U9Y6Y/a/p
|
||||||
|
pSubmit your answers to these questions:/p
|
||||||
|
ol
|
||||||
|
liWhat problem is Oauth 2.0 trying to solve?/li
|
||||||
|
liWhat is the difference between oauth and openid connect?/li
|
||||||
|
liWhat problem is OIDC trying to solve?/li
|
||||||
|
liWhat resources does the client get from the authentication server after a OIDC flow?/li
|
||||||
|
/ol
|
||||||
|
hrh1Rubric/h1precode class=language-json[
|
||||||
|
{label: Answered 4 questions, points: 8}
|
||||||
|
]/code/pre
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user