Fossil SCM
Wrap oversize text/plain wiki and tickets and technotes and forum messages.
Commit
fa8ef25777721236b40060a740316d6b0f4cec34786751ec07a3a3704b50f12d
Parent
2cce85f42156116…
2 files changed
+4
+1
-1
+4
| --- src/default_css.txt | ||
| +++ src/default_css.txt | ||
| @@ -534,10 +534,14 @@ | ||
| 534 | 534 | pre.th1error { |
| 535 | 535 | white-space: pre-wrap; |
| 536 | 536 | word-wrap: break-word; |
| 537 | 537 | color: red; |
| 538 | 538 | } |
| 539 | +pre.textPlain { | |
| 540 | + white-space: pre-wrap; | |
| 541 | + word-wrap: break-word; | |
| 542 | +} | |
| 539 | 543 | .statistics-report-graph-line { |
| 540 | 544 | background-color: #446979; |
| 541 | 545 | } |
| 542 | 546 | .statistics-report-table-events th { |
| 543 | 547 | padding: 0 1em 0 1em; |
| 544 | 548 |
| --- src/default_css.txt | |
| +++ src/default_css.txt | |
| @@ -534,10 +534,14 @@ | |
| 534 | pre.th1error { |
| 535 | white-space: pre-wrap; |
| 536 | word-wrap: break-word; |
| 537 | color: red; |
| 538 | } |
| 539 | .statistics-report-graph-line { |
| 540 | background-color: #446979; |
| 541 | } |
| 542 | .statistics-report-table-events th { |
| 543 | padding: 0 1em 0 1em; |
| 544 |
| --- src/default_css.txt | |
| +++ src/default_css.txt | |
| @@ -534,10 +534,14 @@ | |
| 534 | pre.th1error { |
| 535 | white-space: pre-wrap; |
| 536 | word-wrap: break-word; |
| 537 | color: red; |
| 538 | } |
| 539 | pre.textPlain { |
| 540 | white-space: pre-wrap; |
| 541 | word-wrap: break-word; |
| 542 | } |
| 543 | .statistics-report-graph-line { |
| 544 | background-color: #446979; |
| 545 | } |
| 546 | .statistics-report-table-events th { |
| 547 | padding: 0 1em 0 1em; |
| 548 |
+1
-1
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -167,11 +167,11 @@ | ||
| 167 | 167 | Blob tail = BLOB_INITIALIZER; |
| 168 | 168 | markdown_to_html(pWiki, 0, &tail); |
| 169 | 169 | @ %s(blob_str(&tail)) |
| 170 | 170 | blob_reset(&tail); |
| 171 | 171 | }else{ |
| 172 | - @ <pre> | |
| 172 | + @ <pre class='textPlain'> | |
| 173 | 173 | @ %h(blob_str(pWiki)) |
| 174 | 174 | @ </pre> |
| 175 | 175 | } |
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -167,11 +167,11 @@ | |
| 167 | Blob tail = BLOB_INITIALIZER; |
| 168 | markdown_to_html(pWiki, 0, &tail); |
| 169 | @ %s(blob_str(&tail)) |
| 170 | blob_reset(&tail); |
| 171 | }else{ |
| 172 | @ <pre> |
| 173 | @ %h(blob_str(pWiki)) |
| 174 | @ </pre> |
| 175 | } |
| 176 | } |
| 177 | |
| 178 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -167,11 +167,11 @@ | |
| 167 | Blob tail = BLOB_INITIALIZER; |
| 168 | markdown_to_html(pWiki, 0, &tail); |
| 169 | @ %s(blob_str(&tail)) |
| 170 | blob_reset(&tail); |
| 171 | }else{ |
| 172 | @ <pre class='textPlain'> |
| 173 | @ %h(blob_str(pWiki)) |
| 174 | @ </pre> |
| 175 | } |
| 176 | } |
| 177 | |
| 178 |