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

[core] Use explicit html entity #15132

Merged
merged 2 commits into from
Apr 2, 2019

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Mar 31, 2019

This is something I didn't understand in #15115. I imagine that this can cause quite the frustration if people don't have these highlighted in their editor. I wish no-irregular-whitespace would catch these.

@eps1lon eps1lon added the docs Improvements or additions to the documentation label Mar 31, 2019
@mui-pr-bot
Copy link

mui-pr-bot commented Mar 31, 2019

Details of bundle changes.

Comparing: bbfbb0c...9722821

bundle parsed diff gzip diff prev parsed current parsed prev gzip current gzip
@material-ui/core 0.00% 0.00% 350,282 350,285 89,974 89,976
@material-ui/core/Paper 0.00% 0.00% 67,853 67,853 19,820 19,820
@material-ui/core/Paper.esm 0.00% 0.00% 60,184 60,184 18,563 18,563
@material-ui/core/Popper 0.00% 0.00% 30,463 30,463 10,530 10,530
@material-ui/core/styles/createMuiTheme 0.00% 0.00% 17,364 17,364 5,726 5,726
@material-ui/core/useMediaQuery 0.00% 0.00% 2,469 2,469 1,041 1,041
@material-ui/lab 0.00% 0.00% 148,259 148,259 43,562 43,562
@material-ui/styles 0.00% 0.00% 53,105 53,105 15,433 15,433
@material-ui/system 0.00% 0.00% 17,136 17,136 4,525 4,525
Button 0.00% 0.00% 87,927 87,927 26,054 26,054
Modal 0.00% 0.00% 82,035 82,035 24,552 24,552
colorManipulator 0.00% 0.00% 3,232 3,232 1,299 1,299
docs.landing 0.00% 0.00% 49,899 49,899 10,803 10,803
docs.main 0.00% 0.00% 645,189 645,189 200,434 200,434
packages/material-ui/build/umd/material-ui.production.min.js 0.00% 0.00% 298,595 298,598 82,724 82,726

Generated by 🚫 dangerJS against 9722821

@oliviertassinari oliviertassinari added core and removed docs Improvements or additions to the documentation labels Apr 1, 2019
@oliviertassinari oliviertassinari changed the title [docs] Use explicit html entity [core] Use explicit html entity Apr 1, 2019
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good for me, please review. (there are no Argos diffs 🎉)

@oliviertassinari oliviertassinari force-pushed the docs/explicit-non-breaking-space branch from c0a0c6d to 9722821 Compare April 2, 2019 14:02
@@ -85,7 +85,7 @@ const FormLabel = React.forwardRef(function FormLabel(props, ref) {
})}
data-mui-test="FormLabelAsterisk"
>
{'\u2009*'}
 {'*'}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should fix #14079.

Copy link
Member Author

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -18,14 +18,14 @@ import Avatar from '@material-ui/core/Avatar';

| Name | Type | Default | Description |
|:-----|:-----|:--------|:------------|
| <span class="prop-name">alt</span> | <span class="prop-type">string</span> |   | Used in combination with `src` or `srcSet` to provide an alt attribute for the rendered `img` element. |
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oliviertassinari That's the old defaultValue right? I don't think that adds any value to the markdown. Should be fine with no space at all here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

@oliviertassinari oliviertassinari merged commit b83e765 into mui:next Apr 2, 2019
@eps1lon eps1lon deleted the docs/explicit-non-breaking-space branch April 2, 2019 22:01
@zannager zannager added the core Infrastructure work going on behind the scenes label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants