Skip to content

Commit 705dd69

Browse files
jklugekexanaDinoxh
authored
Inner HTML is rendered (#15)
* sidebar component add * tailwind workin, beggining page building * structure * fixed app * Main design layout * initial sidebar * courseView init * searchbar done, firebase auth done * Create .DS_Store * design fixes. started working on courseview * Added logic for listing courses * work on the sidebar * Imports missing * More dependencies * Make model observable... * some changes * New Data * changes to listview * Lazy Loading * Fix for presenters * Parse HTML * Removed the callback after... --------- Co-authored-by: kexana <deotsts@gmail.com> Co-authored-by: Sami Al Saati <sami.alsaati@hotmail.com>
1 parent 2ea45cb commit 705dd69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

my-app/src/views/ListView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function ListView(props) {
1414
<div>
1515
<p className={"font-bold text-[#000061]"}>{course.code}</p>
1616
<p className="font-bold">{course.name}</p>
17-
<p className="text-gray-600">{course.description}</p>
17+
<p className="text-gray-600" dangerouslySetInnerHTML={{__html:course.description}}/>
1818
</div>
1919
</div>
2020
)) :

0 commit comments

Comments
 (0)