The otuput is below. %data_source_record_set_name:% displayed correctly, but the %data_source_record_set_3.1.1_are_there_ways_that_the_opt_out_structure_of_the_scheme_could_be_improved?% keyword does not.
[indent]Publication name: Richard Corby
Key elements of the legislation
3.1.1 Are there ways that the opt out structure of the scheme could be improved?
%data_source_record_set_3.1.1_are_there_ways_that_the_opt_out_structure_of_the_scheme_could_be_improved?%[/indent]
The details screen of the CSV data source is attached with the keywords listed there. I've compared the keywords on the details screen to what I've put in the code and it seems okay. I also tried outputting other keywords, like %ds__submission_time% and that worked okay. I've tried it with and with out the <pre> tag and that makes no difference. I can't see why the second one doesn't work.
CSV data source details.pdf (699 KB)
[quote]
There looks to be a space at the end of the keyword, that might be it? Not sure if it's just showing because of paste into the forum post.
On a side note, any reason you used pre tags?. You have to do evil things with css rules to get them diplaying in a multi-column scalable layout.
[/quote]
I just checked and there's no space in the code of what's served up. it's hard to tell in the Matrix interface because the keyword's broken up over 2 lines in the edit contents screen.
The CSV file is the output from a custom form that we're publishing. We're using the pre tag so that the formatting (line breaks and spacing) from how the user filled out the online form is preserved. The output we've had for previous publishing of submissions didn't seem to display in a bad way.
[quote]
Any ideas? I haven't heard anything back for a few days.
[/quote]
At this stage we cannot determine why the reported issue might be happening. If you would like to invoke Squiz Support we can investigate this in your environment to determine whether this is particular to your setup or a more generic issue.
While we have provided guidance here, the Matrix Forum is not an official channel for support.