Skip to content

[BUG] iFrame view is offered on all resources #63

@bwbohl

Description

@bwbohl

Describe the problem
The view menu of each resource window offers an "HTML view", which is a direct HTML rendering of the original code. This should only be provided for HTML resources, as the result for XML-encoded resources will be of no merit.

To Reproduce
Open any resource window in Edirom Online.

Expected behavior
Only offer HTML view for HTML resoures.

Edirom information

  • 1.0.0, 2.0.0

Additional context

else if($type = 'html_iFrameView')
then(true())

Probably the view should only be offered if the root element is in the HTML namespace (http://www.w3.org/1999/xhtml)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions