Hexo-theme-next: label tag bug

Created on 10 Dec 2017  ·  9Comments  ·  Source: iissnan/hexo-theme-next

I agree and want to create new issue


Expected behavior

selection_004

The rendered label tag should be included in <p> tag in the current situation.

Actual behavior

selection_001

<br> shouldn't be rendered.

selection_003

<p> appeared and <br> disappeared after I deleted the label tag.

Steps to reproduce the behavior

  1. Write the label tag at the beginning of the paragraph.

Hexo Information

hexo-cli: 1.0.4
os: Linux 4.14.0-kali1-amd64 linux x64
http_parser: 2.7.0
node: 8.3.0
v8: 6.0.286.52
uv: 1.13.1
zlib: 1.2.11
ares: 1.10.1-DEV
modules: 57
openssl: 1.0.2l
icu: 59.1
unicode: 9.0
cldr: 31.0.1
tz: 2017b

NexT Information

NexT Version:

[x] Latest Master branch.
[] Latest Release version.
[] Old version - 

NexT Scheme:

[] All schemes
[x] Muse
[] Mist
[] Pisces
[] Gemini

Other Information

The only solution I've found right now:

  1. Do not write the label tag at the beginning of the paragraph.
  2. Write label tag with HTML syntax, and include the paragraph in <p> by myself.

selection_005

Resovled Maybe v6.x

Most helpful comment

Well, anybody care and nobody don't know, but anybody want and want all for free. Just like free beer. :smile: U want free girls? Free food. And, of course, it must working fine. If this will not work fine, anyone must to fix it, but not me. Not you. Not your grandma, for example. Think about it: it's a logic:: u just take it, open it (like a girl) and start to study it; from top to the bottom. U when like it, sometimes it agry you (like a girl, yeah?), sometimes u do for it something what it will wonder you a lot of times in future. And u will know it. Think about it.

All 9 comments

Sup!
Can u check this? It seems all work fine. But if u can give source code, i will try to fix it in the future.
But u're right, i remebmer when i make it was some bugs like this. Of course, labels need to use only with simple words, not with any other components. Anyway, this bug can fixed with markdown or markdown it, but this is Hexo, not NexT.

:smile: Hi~
Yes, I've checked that before. Source code? I think there is no need to provide that, you can reproduce the behavior by writing the label tag at the beginning of the paragraph, perhaps… :sweat_smile:

So, what's the problem? U know this bug, u can around it. Perhaps, the question is: can u fix this bug?

I'd love to, but I don't know how to fix it because I had no programming experience before… believe it or not. :joy:

Well, anybody care and nobody don't know, but anybody want and want all for free. Just like free beer. :smile: U want free girls? Free food. And, of course, it must working fine. If this will not work fine, anyone must to fix it, but not me. Not you. Not your grandma, for example. Think about it: it's a logic:: u just take it, open it (like a girl) and start to study it; from top to the bottom. U when like it, sometimes it agry you (like a girl, yeah?), sometimes u do for it something what it will wonder you a lot of times in future. And u will know it. Think about it.

Thank you! Get it!

Thank you so much, I'll try it~

NexT is rebased into organization repo.
If you want new feature, please, create new in NexT v6.x repo (desirable in English).

There is instructions on English or Chinese how to update from v5.1.x to v 6.0.x

You also may read this for details.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ifgao picture ifgao  ·  4Comments

YorksonChang picture YorksonChang  ·  3Comments

chy9002 picture chy9002  ·  3Comments

liyuan989 picture liyuan989  ·  3Comments

blueyi picture blueyi  ·  5Comments