Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[VarDumper] Fix rendering of inline code#9605

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@kevin-verschaeve
Copy link
Contributor

A small piece of code that is not rendered correctly on the varDumper component

tony-tran and nicolasdewez reacted with thumbs up emoji
@javiereguiluz
Copy link
Member

This is tricky. We did this on purpose because the:class: feature doesn't work with placeholders likeEXCLUDE_* so we decided to link to the class and append theEXCLUDE_* text at the end of it, so the link to Symfony API works.

Maybe we can fix this with a little reword:

* A bit field of ``EXCLUDE_*`` constants from the:class:`Symfony\\Component\\VarDumper\\Caster\\Caster` class.

@kevin-verschaeve
Copy link
ContributorAuthor

Oh I see.

Yes we can do as you propose or keep as it is but removing some unwanted backquotes

image

See, there is twice 2 backquotes that prevent the rendering and complicate reading. We can just remove them.

Tell me, what is the best, I will update the PR

…ning of the First Example page (Lyrkan)This PR was submitted for the 3.3 branch but it was merged into the 3.4 branch instead (closessymfony#9526).Discussion----------[Encore] Don't enable the Sass loader at the beginning of the First Example pageSomeone pointed out insymfony/webpack-encore#287 that if you follow the [First example](http://symfony.com/doc/master/frontend/encore/simple-example.html) page from top to bottom you are going to run `yarn encore` before being informed that calling `enableSassLoader()` implies adding additional dependencies (which is done just after).~~This PR moves the related paragraph to warn the user that Encore will tell him about missing packages before he encounters the error.~~~~I also added the "after running it" part to make it a bit more obvious that the information is going to be present in the command output.~~**Edit:** Changed it so `enableSassLoader()` is commented before running Encore for the first timeCommits-------18586e2 [Encore] Don't enable the Sass loader at the beginning of the First Example page
@kevin-verschaevekevin-verschaeveforce-pushed thevar-dumper/fix-code-rendering branch from0d5bc47 to15ef727CompareApril 16, 2018 13:37
@kevin-verschaeve
Copy link
ContributorAuthor

@javiereguiluz it seems that just adding a space fix the issue :)

tony-tran and thomasbisignani reacted with thumbs up emojithomasbisignani reacted with hooray emoji

@javiereguiluzjaviereguiluz changed the base branch frommaster to3.4April 16, 2018 14:47
@javiereguiluzjaviereguiluzforce-pushed thevar-dumper/fix-code-rendering branch from15ef727 to8389469CompareApril 16, 2018 14:47
@javiereguiluz
Copy link
Member

I like your solution! Let's merge it (on 3.4 branch). Thanks!

kevin-verschaeve reacted with heart emoji

@javiereguiluzjaviereguiluz merged commit8389469 intosymfony:3.4Apr 16, 2018
javiereguiluz added a commit that referenced this pull requestApr 16, 2018
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes#9605).Discussion----------[VarDumper] Fix rendering of inline codeA small piece of code that is not rendered correctly on the varDumper componentCommits-------8389469 [VarDumper] Fix rendering of inline code
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@boninirboninirboninir approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

5 participants

@kevin-verschaeve@javiereguiluz@boninir@carsonbot@Lyrkan

[8]ページ先頭

©2009-2025 Movatter.jp