-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
docs: Fix some typos in helpers/html_helper.rst #8916
Conversation
Fix some typos in helpers/html_helper.rst
Add alt attribute to img element in helpers/html_helper/002.php
.. php:function:: embed($src = ''[, $type = false[, $attributes = ''[, $indexPage = false]]]) | ||
.. php:function:: track($src, $kind, $srcLanguage, $label) | ||
|
||
:param string $src: The path of the media resource | ||
:param string $kind: The kind of timed track | ||
:param string $srcLanguage: The language of the timed track | ||
:param string $label: A user-readable title for the timed track | ||
:returns: An HTML track element | ||
:rtype: string | ||
|
||
Generates a track element to specify timed tracks. The tracks are | ||
formatted in WebVTT format. Example: | ||
|
||
.. literalinclude:: html_helper/019.php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These differences make it difficult to review.
I don't know why track()
location was changed.
Please create one commit for changing the location.
Also, there are too many diffs in one commit.
Many fixes are corrections of errors, and they are too large to be called typos.
Please create a commit with a commit message of why you changed for every single meaningful fix.
Presumably, this would be if you were using a media controller: | ||
There is an optional second parameter, a true/false value, that | ||
specifies if the *src* should have ``$config['indexPage']`` added to the address it creates. | ||
Presumably, this would be true if you were using a media controller???: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Presumably, this would be true if you were using a media controller???: | |
Presumably, this would be true if you were using a media controller: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please re-create this PR so that each meaningful change is committed as one git commit? Because I cannot review this PR.
E.g.,
a commit to move a paragraph.
a commit to replace tags with elements.
a commit to fix one function description.
👋 Hi, @obozdag! |
Description
Fix some typos in helpers/html_helper.rst
Checklist: