terminal-leetcode icon indicating copy to clipboard operation
terminal-leetcode copied to clipboard

Convert <br> to line break

Open jhshi opened this issue 8 years ago • 1 comments

The matrix is not formatted properly in terminal-leetcode.

image image HTML source:


<div class="question-description">
--
  | <p><p>Given a 2d grid map of <code>'1'</code>s (land) and <code>'0'</code>s (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.</p>
  |  
  | <p><i><b>Example 1:</b></i></p>
  | <pre>11110<br>11010<br>11000<br>00000</pre>
  | <p>Answer: 1</p>
  | <p><i><b>Example 2:</b></i></p>
  | <pre>11000<br>11000<br>00100<br>00011</pre>
  | <p>Answer: 3</p>
  |  
  | <p><b>Credits:</b><br />Special thanks to <a href="https://leetcode.com/discuss/user/mithmatt">@mithmatt</a> for adding this problem and creating all test cases.</p></p>
  | </div>


jhshi avatar Sep 24 '17 20:09 jhshi

Yes, it's a problem, I'll fix it soon

chishui avatar Sep 25 '17 04:09 chishui