Skip to content

Useless html tag shown in problem #201

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

Open
zjzsliyang opened this issue Jan 29, 2020 · 4 comments
Open

Useless html tag shown in problem #201

zjzsliyang opened this issue Jan 29, 2020 · 4 comments

Comments

@zjzsliyang
Copy link

Problem Summary

Same as thread #183, but --no-color or rm -fr ~/.lc did not solve this problem.

How to reproduce

leetcode show 211

Environment

  • leetcode-cli version: 2.6.22
  • OS version: macOS 10.15.3
  • Node version: 13.7.0
  • Npm version: 6.13.7
@pinggit
Copy link

pinggit commented Feb 3, 2020

same here.

$ leetcode version -v
 _           _                  _
| |         | |                | |
| | ___  ___| |_  ___  ___   __| | ___
| |/ _ \/ _ \ __|/ __|/ _ \ / _` |/ _ \
| |  __/  __/ |_  (__| (_) | (_| |  __/
|_|\___|\___|\__|\___|\___/ \__,_|\___|  CLI v2.6.22

[Environment]
Node                 v8.10.0
OS                   linux 4.4.0-17763-Microsoft
Cache                /home/ping/.lc/leetcode/cache
Config               /home/ping/.lc/config.json

[Configuration]
autologin            {"enable":false,"retry":2}
code                 {"editor":"vim","lang":"cpp"}
file                 {"show":"${fid}.${slug}","submission":"${fid}.${slug}.${sid}.${ac}"}
color                {"enable":true,"theme":"default"}
icon                 {"theme":""}
network              {"concurrency":10,"delay":1}
app                  "leetcode"

[Themes]
Colors               blue,dark,default,molokai,orange,pink,solarized,solarized.light
Icons                ascii,default,win7

[Plugins]
solution.discuss     2019.02.03
company              2017.12.18
cache                default
retry                default
leetcode.cn          2018.11.25
leetcode             default

@pinggit
Copy link

pinggit commented Feb 6, 2020

this is probably the only annoying thing left for this plugin:
can this be fixed?

$ leetcode show 62

[62] Unique Paths  

https://leetcode.com/problems/unique-paths/description/

* algorithms
* Medium (50.99%)
* Likes:    2348
* Dislikes: 170
* Total Accepted:    386.9K
* Total Submissions: 757.9K
* Testcase Example:  '3\n2'

<p>A robot is located at the top-left corner of a <em>m</em> x <em>n</em> grid (marked &#39;Start&#39; in the diagram below).</p>

<p>The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked &#39;Finish&#39; in the diagram below).</p>

<p>How many possible unique paths are there?</p>

<p><img src="https://assets.leetcode.com/uploads/2018/10/22/robot_maze.png" style="width: 400px; height: 183px;" /><br />
<small>Above is a 7 x 3 grid. How many possible unique paths are there?</small></p>

<p><strong>Note:</strong> <em>m</em> and <em>n</em> will be at most 100.</p>

<p><strong>Example 1:</strong></p>

<pre>
<strong>Input:</strong> m = 3, n = 2
<strong>Output:</strong> 3
<strong>Explanation:</strong>
From the top-left corner, there are a total of 3 ways to reach the bottom-right corner:
1. Right -&gt; Right -&gt; Down
2. Right -&gt; Down -&gt; Right
3. Down -&gt; Right -&gt; Right
</pre>

<p><strong>Example 2:</strong></p>

<pre>
<strong>Input:</strong> m = 7, n = 3
<strong>Output:</strong> 28</pre>

@ketankr9
Copy link

@pinggit @zjzsliyang I have fixed this issue. For immediate effect install the patch by npm install -g ketankr9/leetcode-cli or wait for the admin's response.

@pinggit
Copy link

pinggit commented Feb 13, 2020

it works! thanks @ketankr9 !

ketankr9 added a commit to ketankr9/leetcode-cli that referenced this issue Feb 14, 2020
ketankr9 added a commit to ketankr9/leetcode-cli that referenced this issue Mar 7, 2021
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

Successfully merging a pull request may close this issue.

3 participants