From cf61c7a7474192d8462a8cb439351230b71091ee Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Mon, 7 Jun 2021 12:30:42 -0400 Subject: [PATCH] fix: display Unit titles as

(TNL-8387) Unit titles were being written to the page as

because the old courseware experience reserved

for wrapping the header logo link. We've since determined that this is not a best practice, and the new courseware MFE in this repo no longer uses a

for that purpose, but the Unit title was never promoted from

to

until this commit. Course teams have traditionally been permitted to use

-

in their content. Making this change does mean that there will now be a gap with some content, where we skip from

to

. For the short term, we are NOT recommending course teams use

, until we have a better chance to evaluate whether that heading should remain reserved for platform-level use. --- src/courseware/course/sequence/Unit.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courseware/course/sequence/Unit.jsx b/src/courseware/course/sequence/Unit.jsx index 6e7d6b33..4cc96fc3 100644 --- a/src/courseware/course/sequence/Unit.jsx +++ b/src/courseware/course/sequence/Unit.jsx @@ -135,7 +135,7 @@ function Unit({ return (
-

{unit.title}

+

{unit.title}