Skip to content

Conversation

@koperagen
Copy link
Collaborator

fixes #319

@koperagen koperagen added bug Something isn't working enhancement New feature or request labels Nov 25, 2024
@koperagen koperagen added this to the 0.16.0 milestone Nov 25, 2024
@koperagen koperagen self-assigned this Nov 25, 2024
@koperagen koperagen force-pushed the html-in-cell-rendering branch from 3ee238f to 8d59c97 Compare November 25, 2024 14:51
Copy link
Collaborator

@Jolanrensen Jolanrensen left a comment

Choose a reason for hiding this comment

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

cool :D

if (maxWidth != null) style.append("max-width:${maxWidth}px;")
if (maxHeight != null) style.append("max-height:${maxHeight}px;")
return """<img src="$src" style="$style"}/>"""
return """<img src="$src" style="$style"/>"""
Copy link
Collaborator

Choose a reason for hiding this comment

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

wow good find

internal fun DataFrameHtmlData.print() = println(this)

/**
* By default, cell content is formatted as text
Copy link
Collaborator

Choose a reason for hiding this comment

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

very helpful comment, thanks!

@koperagen koperagen merged commit ebe6f9a into master Dec 3, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rendering of IMG, IFrame appears to be broken

3 participants