Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #62 from Team-Tukka/task/21/tmc
Browse files Browse the repository at this point in the history
Task 21: Regex på billedebeskrivelse
  • Loading branch information
Matttuu committed Jan 7, 2020
2 parents a81bcda + a071a33 commit 8976a23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/showScooter/ShowScooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ function ShowScooter() {
<li>
<b>Kategori:</b> <GetCategoryById categoryId={scoCategoryId} />
</li>
<li className="my-4">{scoDescription}</li>
<li className="my-4">
<pre className="frontpageText">
{scoDescription.replace(/<br ?\/?>/g, '\n')}
</pre>
</li>
<li className="priceGlow">{scoPrice} DKK</li>
<li className="priceVAT">{scoPriceVAT} DKK inkl. moms</li>
</ul>
Expand Down

0 comments on commit 8976a23

Please sign in to comment.