Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Poll Time Widget] Add time widget markdown parser to poll question
The time widget markdown parser is added to poll question header. This is done giving a `marked` question value to the poll question header and upon updating the elements using `rendered_markdown`, the `<time>` tags get updated accordingly. The `poll_widget` test file is modified to incorporate markdown processing. Fixes #16821 poll time widget: Add time widget markdown parser to polls Time widget markdown parser functionality added to poll question header. The change is brought about by applying `update_elements` function on the poll question header.And in `rendered_markdown.js` a parsing function is added to render the timestamp Fixes #16821 [Poll Time Widget] Add time widget markdown parser to poll question The time widget markdown parser is added to poll question header. This is done giving a `marked` question value to the poll question header and upon updating the elements using `rendered_markdown`, the `<time>` tags get updated accordingly. Fixes #16821 [Poll Time Widget] Add time widget markdown parser to poll question The time widget markdown parser is added to poll question header. This is done giving a `marked` question value to the poll question header and upon updating the elements using `rendered_markdown`, the `<time>` tags get updated accordingly. The `poll_widget` test file is modified to incorporate markdown processing. Fixes #16821 Remove unused-vars Fixes #16821 Fixed linting issue in `poll_widget.js` Fixes #16821
- Loading branch information