Skip to content

Conversation

meiMingle
Copy link
Collaborator

@meiMingle meiMingle commented Apr 7, 2024

Recently I discovered that the values of properties in the code were not escaped, causing an error when the generated file was opened in Excel.This PR will fix it.

try (OutputStream os = ..., Workbook wb = new Workbook(os, "MyApplication", "1.0");) {
    wb.properties()
    .setTitle("title property<=")
    .setTextProperty("Test TextA", "Lucy<=")
    .setHyperlinkBase("https://github.com/search?q=repo%3Adhatim%2Ffastexcel%20fastexcel&type=code");
}

image

@ochedru ochedru merged commit 3e1268d into dhatim:master Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants