jasonrogena / jasonrogena/php-excel-reader

line break within cell

Open
#200 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Hi,
II try the reader with the following code:

val(15,'C'); ?>

With this I get the content of cell C15, but I don´t get the line breaks
within the cell...

I already tried this:
val(15,'C'); $lfcr = chr(10) . chr(13); ?>

but it does´t work. I don't want to put a "
" in the excel file after one
line, because the file should be the same file for Download...

How do I make it?

Hope someone could help me before I have to change to another reader...
```

Original issue reported on code.google.com by `supp...@pl-concepts.de` on 21 Jan 2015 at 9:28

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with excel_reader2.php and the Spreadsheet_Excel_Reader::val(15, 'C') call shown in the report. Inspect how the cell value is returned and rendered in the surrounding HTML. Done means embedded line breaks from the spreadsheet are preserved in the displayed cell without requiring changes to the downloadable Excel file.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.