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

Remove whitespace in addBodyClass($className) #594

Merged
merged 1 commit into from
Mar 26, 2019
Merged

Remove whitespace in addBodyClass($className) #594

merged 1 commit into from
Mar 26, 2019

Conversation

AndresInSpace
Copy link
Contributor

@AndresInSpace AndresInSpace commented Jan 25, 2019

Remove whitespace that is generated in body class string.

if no result from $this->getBodyClass() output just classname instead of null+whitespace+classname
E.g.
<body class=" classnames">

Fixed Result:
<body class="classnames">

if no result from $this->getBodyClass() output just classname instead of null+whitespace+classname
@LeeSaferite LeeSaferite merged commit b24415b into OpenMage:1.9.4.x Mar 26, 2019
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Apr 1, 2019
…lass()

If $this->getBodyClass() returns nothing a superfluous whitespace is
generated in classname output.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Aug 22, 2019
…lass()

If $this->getBodyClass() returns nothing a superfluous whitespace is
generated in classname output.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Oct 25, 2019
…lass()

If $this->getBodyClass() returns nothing a superfluous whitespace is
generated in classname output.
@kiatng
Copy link
Contributor

kiatng commented Feb 14, 2020

Files affected by this commit:

in app/design/frontend/rwd/default/template/page
print.phtml
popup.phtml

in app/design/frontend/base/default/template/page
print.phtml
popup.phtml

kiatng added a commit to kiatng/magento-lts that referenced this pull request Feb 14, 2020
Copy link
Contributor

@kkrieger85 kkrieger85 left a comment

Choose a reason for hiding this comment

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

Works fine

Flyingmana pushed a commit that referenced this pull request Feb 14, 2020
colinmollenhour pushed a commit that referenced this pull request Feb 21, 2020
* Insert whitespace in class name for styling to work. See pull request #594 Remove whitespace in addBodyClass($className)#594

* Fixed typo in data type.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Aug 20, 2020
…lass()

If $this->getBodyClass() returns nothing a superfluous whitespace is
generated in classname output.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Aug 20, 2020
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Aug 24, 2020
Flyingmana pushed a commit that referenced this pull request Sep 28, 2021
* Insert whitespace in class name for styling to work. See pull request #594 Remove whitespace in addBodyClass($className)#594

* Fix file delete in customer attribute of `frontend_input` = 'file'.
spinsch pushed a commit to spinsch/magento-lts that referenced this pull request Oct 13, 2021
* Insert whitespace in class name for styling to work. See pull request OpenMage#594 Remove whitespace in addBodyClass($className)OpenMage#594

* Fix file delete in customer attribute of `frontend_input` = 'file'.
randallelliott714 added a commit to randallelliott714/magento that referenced this pull request Oct 18, 2022
randallelliott714 added a commit to randallelliott714/magento that referenced this pull request Oct 18, 2022
* Insert whitespace in class name for styling to work. See pull request #594 Remove whitespace in addBodyClass($className)OpenMage/magento-lts#594

* Fixed typo in data type.
randallelliott714 added a commit to randallelliott714/magento that referenced this pull request Oct 18, 2022
* Insert whitespace in class name for styling to work. See pull request #594 Remove whitespace in addBodyClass($className)OpenMage/magento-lts#594

* Fix file delete in customer attribute of `frontend_input` = 'file'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants