Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert <br> to line break #34

Open
jhshi opened this issue Sep 24, 2017 · 1 comment
Open

Convert <br> to line break #34

jhshi opened this issue Sep 24, 2017 · 1 comment

Comments

@jhshi
Copy link
Contributor

jhshi commented Sep 24, 2017

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>
@chishui
Copy link
Owner

chishui commented Sep 25, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants