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

label tag bug #2022

Closed
3 tasks done
reuixiy opened this issue Dec 10, 2017 · 9 comments
Closed
3 tasks done

label tag bug #2022

reuixiy opened this issue Dec 10, 2017 · 9 comments

Comments

@reuixiy
Copy link

reuixiy commented Dec 10, 2017

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

@ivan-nginx
Copy link
Collaborator

ivan-nginx commented Dec 16, 2017

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.

@reuixiy
Copy link
Author

reuixiy commented Dec 16, 2017

😄 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… 😅

@ivan-nginx
Copy link
Collaborator

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

@reuixiy
Copy link
Author

reuixiy commented Dec 16, 2017

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

@ivan-nginx
Copy link
Collaborator

ivan-nginx commented Dec 16, 2017

Well, anybody care and nobody don't know, but anybody want and want all for free. Just like free beer. 😄 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.

@reuixiy
Copy link
Author

reuixiy commented Dec 16, 2017

Thank you! Get it!

@geekrainy
Copy link
Contributor

Try to use https://github.com/hexojs/hexo-renderer-markdown-it.
That's work fine for me.
The bug from https://github.com/hexojs/hexo-renderer-marked.

@reuixiy
Copy link
Author

reuixiy commented Dec 18, 2017

Thank you so much, I'll try it~

@ivan-nginx
Copy link
Collaborator

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.

Repository owner locked as off-topic and limited conversation to collaborators Jan 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants