We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4750e commit 53d65fdCopy full SHA for 53d65fd
core/src/main/scala/org/apache/spark/status/api/v1/api.scala
@@ -510,7 +510,7 @@ case class StackTrace(elems: Seq[String]) {
510
override def toString: String = elems.mkString
511
512
def html: NodeSeq = {
513
- val withNewLine = elems.foldLeft(NodeSeq.Empty) { (acc, elem) =>
+ val withNewLine = elems.map(_.stripLineEnd).foldLeft(NodeSeq.Empty) { (acc, elem) =>
514
if (acc.isEmpty) {
515
acc :+ Text(elem)
516
} else {
0 commit comments