* chore: updated the logic for page version task
* chore: updated the html variable
* chore: handled the exception
* chore: changed the function name
* chore: added a custom variable
* fix: versions history to load from html
* chore: added json and stripped to store in version history (#7755)
---------
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>