- Issue created by @euliss
- π¨π¦Canada jmdeleon
Uploading text files with potentially un-checked HTML introduces a security risk, and really isn't going to be supported by this module.
There is limited special support for hyperlinking when you turn on Smart URL handling (and read the module source code).
- πΊπΈUnited States euliss
Thank you for your response. I have attached a sample file in TXT format. This forum would not allow CSV. This file contains the link in markdown language. When we used that, the entire site failed with an error.
Thanks for any assistance.
- π¨π¦Canada jmdeleon
Thanks for the sample @euliss !
The simple Markdown link support within the module handled the link in the sample.
I also noticed that the sample file is tab-separated. Setting the field separator to '\t' DOES cause an error, as it tries to use the string sequence as a separator but fails.
I can put work in to better support the '\t' as an escape sequence, but as a workaround for you to get going, is it possible to use another separator character?
- π¨π¦Canada jmdeleon
Here is a patch that accepts \t in the field formatter configuration as a tab-character delimiter for tab-delimited files.
- πΊπΈUnited States euliss
You have been most helpful! I will try to adjust my file and will let you know.
Thanks!
- π¨π¦Canada jmdeleon
I think the support for tab as a delimiter in configuration is a sound fix and should be included in a proper release. It is supported by PHP fgetcsv() which this module essentially serves as a wrapper for.
Please try the \t for tab in the Field formatter configuration and try a full TSV (tab-separated value) file.
-
jmdeleon β
committed 17b0e2fe on 1.0.x
Issue #3478250 by jmdeleon: support tab-separated files
-
jmdeleon β
committed 17b0e2fe on 1.0.x
- π¨π¦Canada jmdeleon
Released version 1.0.23 to address findings from this specific issue, particularly TSV (tab-separated values) file support.