Browse Source

[fix] Magnet URI overflows

pull/2/head
Muthu Kumar 6 years ago
parent
commit
53addb5933
  1. 5
      public/stylesheets/style.css
  2. 4
      routes/index.js

5
public/stylesheets/style.css

@ -13,6 +13,11 @@ code {
pre {
background: #EEE;
padding: 40px;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
a {

4
routes/index.js

@ -16,9 +16,7 @@ template = (magnet, meta) => (`
</head>
<body>
<h1> :magnet:</h1>
<pre>
${magnet}
</pre>
<pre>${magnet}</pre>
</p>
</body>
</html>

Loading…
Cancel
Save