p标签中的文本格式不格式化?

formatting of text in p tag not formatting?

晚上都...用户将数据输入到存储在数据库中的记录中。如果我将此记录中的文本复制到记事本中,它的显示格式正确...

    Drive along the coastline and drink in the sights exploring the newly-designated Wild Atlantic Way where secrets lie hidden in remote peninsulas. And on the mountain roads, the sweet aroma of turf smoke will greet you as you make your way around.

The county can justifiably make many claims: the highest sea cliffs and the largest sand dunes in Europe, the biggest waves in Ireland. With no fewer than 13 unspoilt golden strands, it proudly boasts the largest number of Blue Flag beaches of any county in Ireland.

Where, the visitor may ask, is the essence of Donegal? There is not one particular spot since it is to be found everywhere: from the burstingly fresh local seafood, at the summit of Errigal mountain, in the Killybegs fishing boats bringing home the catch, in the ruins of a medieval castle, on a ferry ride to Tory Island, on top of an ancient hillfort, or in the reminiscent <br/> call of the corncrake or shrill whistle of the oystercatcher.

然而,当在浏览器的屏幕上显示时,我将文本放在 <p> 标签内,但它在屏幕上显示为...

Drive along the coastline and drink in<br /> the sights exploring the newly-designated Wild Atlantic Way where secrets lie hidden in remote peninsulas. And on the mountain roads, the sweet aroma of turf smoke will greet you as you make your way around. The county can justifiably make many claims: the highest sea cliffs and the largest sand dunes in Europe, the biggest waves in Ireland. With no fewer than 13 unspoilt golden strands, it proudly boasts the largest number of Blue Flag beaches of any county in Ireland.Where, the visitor may ask, is the essence of Donegal? There is not one particular spot since it is to be found everywhere: from the burstingly fresh local seafood, at the summit of Errigal mountain, in the Killybegs fishing boats bringing home the catch, in the ruins of a medieval castle, on a ferry ride to Tory Island, on top of an ancient hillfort, or in the reminiscent <br/> call of the corncrake or shrill whistle of the oystercatcher.

如您所见,没有格式、段落后的行空格等...有人知道为什么吗?谢谢

呈现 html 的代码...

//mvc dataTable being displayed
     <p>@row["Description"]</p>

根据我对 OP 的评论:

您可以在包含元素上使用 white-space: pre-line 来换行所有换行符,并按照默认的白色 space 规则(在白色 space 上换行以填充元素)。